aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorHelmut Eller2026-04-04 20:59:46 +0200
committerHelmut Eller2026-04-04 20:59:46 +0200
commit6eec001187e8551f32b6498e6dc60cdc58c2e515 (patch)
tree13233de9f0a05ef86a51500e8b1870b75ff20c81 /src/keyboard.c
parente4ea27119e79012f9d651cb61d1115589d91ef39 (diff)
parent01a9d78a7e4c7d7fa5b799e4fdc2caf77a012734 (diff)
downloademacs-feature/igc3.tar.gz
emacs-feature/igc3.zip
Merge branch 'master' into feature/igc3feature/igc3
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c4
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