aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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