diff options
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index c63440059e5..3da42d61bad 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2453,7 +2453,7 @@ read_decoded_event_from_main_queue (struct timespec *end_time, | |||
| 2453 | #else | 2453 | #else |
| 2454 | struct frame *frame = XFRAME (selected_frame); | 2454 | struct frame *frame = XFRAME (selected_frame); |
| 2455 | struct terminal *terminal = frame->terminal; | 2455 | struct terminal *terminal = frame->terminal; |
| 2456 | if (!((FRAME_TERMCAP_P (frame) || FRAME_MSDOS_P (frame)) | 2456 | if (!(is_tty_frame (frame) |
| 2457 | /* Don't apply decoding if we're just reading a raw event | 2457 | /* Don't apply decoding if we're just reading a raw event |
| 2458 | (e.g. reading bytes sent by the xterm to specify the position | 2458 | (e.g. reading bytes sent by the xterm to specify the position |
| 2459 | of a mouse click). */ | 2459 | of a mouse click). */ |
| @@ -13032,7 +13032,7 @@ The elements of this list correspond to the arguments of | |||
| 13032 | 13032 | ||
| 13033 | Lisp_Object interrupt = interrupt_input ? Qt : Qnil; | 13033 | Lisp_Object interrupt = interrupt_input ? Qt : Qnil; |
| 13034 | Lisp_Object flow, meta; | 13034 | Lisp_Object flow, meta; |
| 13035 | if (FRAME_TERMCAP_P (sf) || FRAME_MSDOS_P (sf)) | 13035 | if (is_tty_frame (sf)) |
| 13036 | { | 13036 | { |
| 13037 | flow = FRAME_TTY (sf)->flow_control ? Qt : Qnil; | 13037 | flow = FRAME_TTY (sf)->flow_control ? Qt : Qnil; |
| 13038 | meta = (FRAME_TTY (sf)->meta_key == 2 | 13038 | meta = (FRAME_TTY (sf)->meta_key == 2 |