aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2007-05-12 23:28:16 +0000
committerChong Yidong2007-05-12 23:28:16 +0000
commit9c59756b3fd3d32b478c794083fe24180455d96b (patch)
tree500866591c833291a33ca5a260d03368af412e22 /src
parentfd92bad940a44537c618a4afbe48c5cbaec73fb9 (diff)
downloademacs-9c59756b3fd3d32b478c794083fe24180455d96b.tar.gz
emacs-9c59756b3fd3d32b478c794083fe24180455d96b.zip
(XTread_socket): Yet another uncaught X error crash (YAUXEC).
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 4f77e22ac59..9adb2b2c259 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7065,6 +7065,7 @@ XTread_socket (sd, expected, hold_quit)
7065#endif 7065#endif
7066 7066
7067#ifndef USE_GTK 7067#ifndef USE_GTK
7068 x_catch_errors (dpyinfo->display);
7068 while (XPending (dpyinfo->display)) 7069 while (XPending (dpyinfo->display))
7069 { 7070 {
7070 int finish; 7071 int finish;
@@ -7083,6 +7084,7 @@ XTread_socket (sd, expected, hold_quit)
7083 if (finish == X_EVENT_GOTO_OUT) 7084 if (finish == X_EVENT_GOTO_OUT)
7084 goto out; 7085 goto out;
7085 } 7086 }
7087 x_uncatch_errors ();
7086#endif /* not USE_GTK */ 7088#endif /* not USE_GTK */
7087 } 7089 }
7088 7090