# HG changeset patch # User Chong Yidong # Date 1179012931 0 # Node ID 438a63207e7a1788d443348e279ac1bdaef882da # Parent 8cba28b4f1b7fede80b06c4d83b45cbe1815eb45 (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). diff -r 8cba28b4f1b7 -r 438a63207e7a src/xterm.c --- a/src/xterm.c Sat May 12 23:35:24 2007 +0000 +++ b/src/xterm.c Sat May 12 23:35:31 2007 +0000 @@ -7065,6 +7065,7 @@ #endif #ifndef USE_GTK + x_catch_errors (dpyinfo->display); while (XPending (dpyinfo->display)) { int finish; @@ -7083,6 +7084,7 @@ if (finish == X_EVENT_GOTO_OUT) goto out; } + x_uncatch_errors (); #endif /* not USE_GTK */ }