diff options
| author | Richard M. Stallman | 1994-08-28 19:57:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-28 19:57:51 +0000 |
| commit | 3b2fa4e69ab48723a3bf04c91b00a41c8b048ddd (patch) | |
| tree | 30860dc5adccff3f20b004bb49adaaad179f21da /src/xterm.c | |
| parent | 03b78673fb71aa01a455624ae2a841c7dd1b8767 (diff) | |
| download | emacs-3b2fa4e69ab48723a3bf04c91b00a41c8b048ddd.tar.gz emacs-3b2fa4e69ab48723a3bf04c91b00a41c8b048ddd.zip | |
Include keyboard.h.
(x_make_frame_visible): Fix previous change: test polling_for_input
instead of whether SIGIO is defined.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/xterm.c b/src/xterm.c index 73515ff3174..d497c302eac 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -79,6 +79,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 79 | #include "disptab.h" | 79 | #include "disptab.h" |
| 80 | #include "buffer.h" | 80 | #include "buffer.h" |
| 81 | #include "window.h" | 81 | #include "window.h" |
| 82 | #include "keyboard.h" | ||
| 82 | 83 | ||
| 83 | #ifdef USE_X_TOOLKIT | 84 | #ifdef USE_X_TOOLKIT |
| 84 | extern XtAppContext Xt_app_con; | 85 | extern XtAppContext Xt_app_con; |
| @@ -5677,12 +5678,13 @@ x_make_frame_visible (f) | |||
| 5677 | to let the handler know that there's something to be read. | 5678 | to let the handler know that there's something to be read. |
| 5678 | We used to raise a real alarm, but it seems that the handler | 5679 | We used to raise a real alarm, but it seems that the handler |
| 5679 | isn't always enabled here. This is probably a bug. */ | 5680 | isn't always enabled here. This is probably a bug. */ |
| 5680 | #ifndef SIGIO | 5681 | if (polling_for_input) |
| 5681 | /* It could be confusing if a real alarm arrives while processing | 5682 | { |
| 5682 | the fake one. Turn it off and let the handler reset it. */ | 5683 | /* It could be confusing if a real alarm arrives while processing |
| 5683 | alarm (0); | 5684 | the fake one. Turn it off and let the handler reset it. */ |
| 5684 | input_poll_signal (); | 5685 | alarm (0); |
| 5685 | #endif | 5686 | input_poll_signal (); |
| 5687 | } | ||
| 5686 | } | 5688 | } |
| 5687 | FRAME_SAMPLE_VISIBILITY (f); | 5689 | FRAME_SAMPLE_VISIBILITY (f); |
| 5688 | } | 5690 | } |