Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
30082:0a8fd2579cb5 | 30083:998d20abc885 |
---|---|
8925 input_signal_count++; | 8925 input_signal_count++; |
8926 | 8926 |
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) |
8933 { | 8935 { |
8934 #if 0 /* This ought to be unnecessary; let's verify it. */ | 8936 #if 0 /* This ought to be unnecessary; let's verify it. */ |
10044 x_raise_frame (pending_autoraise_frame); | 10046 x_raise_frame (pending_autoraise_frame); |
10045 pending_autoraise_frame = 0; | 10047 pending_autoraise_frame = 0; |
10046 } | 10048 } |
10047 | 10049 |
10048 UNBLOCK_INPUT; | 10050 UNBLOCK_INPUT; |
10051 --handling_signal; | |
10049 return count; | 10052 return count; |
10050 } | 10053 } |
10051 | 10054 |
10052 | 10055 |
10053 | 10056 |