Mercurial > emacs
diff src/xterm.c @ 30083:998d20abc885
(XTread_socket): Increment handling_signal at the start,
decrement it at the end.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 05 Jul 2000 19:58:34 +0000 |
parents | ed1979c6dfb9 |
children | 4a3808257cf4 |
line wrap: on
line diff
--- a/src/xterm.c Wed Jul 05 19:57:51 2000 +0000 +++ b/src/xterm.c Wed Jul 05 19:58:34 2000 +0000 @@ -8927,6 +8927,8 @@ if (numchars <= 0) abort (); /* Don't think this happens. */ + ++handling_signal; + /* Find the display we are supposed to read input for. It's the one communicating on descriptor SD. */ for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next) @@ -10046,6 +10048,7 @@ } UNBLOCK_INPUT; + --handling_signal; return count; }