aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-05 19:58:34 +0000
committerGerd Moellmann2000-07-05 19:58:34 +0000
commitbde5503bf1448e1a5edf6ba0bc850bed3b42932e (patch)
treecd32d08a18a59178ad57c5845fd51db0fbffeffb /src
parent026d2a71e31fc7821e8b78addd388ac7a5cf39b1 (diff)
downloademacs-bde5503bf1448e1a5edf6ba0bc850bed3b42932e.tar.gz
emacs-bde5503bf1448e1a5edf6ba0bc850bed3b42932e.zip
(XTread_socket): Increment handling_signal at the start,
decrement it at the end.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index bc13fb98ba2..8e45559662c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8927,6 +8927,8 @@ XTread_socket (sd, bufp, numchars, expected)
8927 if (numchars <= 0) 8927 if (numchars <= 0)
8928 abort (); /* Don't think this happens. */ 8928 abort (); /* Don't think this happens. */
8929 8929
8930 ++handling_signal;
8931
8930 /* Find the display we are supposed to read input for. 8932 /* Find the display we are supposed to read input for.
8931 It's the one communicating on descriptor SD. */ 8933 It's the one communicating on descriptor SD. */
8932 for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next) 8934 for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next)
@@ -10046,6 +10048,7 @@ XTread_socket (sd, bufp, numchars, expected)
10046 } 10048 }
10047 10049
10048 UNBLOCK_INPUT; 10050 UNBLOCK_INPUT;
10051 --handling_signal;
10049 return count; 10052 return count;
10050} 10053}
10051 10054