From 19580e2cf6bb7e52f0aba60aca078349d8f1b8fa Mon Sep 17 00:00:00 2001 From: Andrew Choi Date: Sun, 25 Aug 2002 16:40:40 +0000 Subject: [PATCH] 2002-08-25 Andrew Choi * macterm.c (XTread_socket): Remove code to call SendEventToEventTarget for keys with command modifiers when mac_command_key_is_meta is nil. --- src/ChangeLog | 6 ++++++ src/macterm.c | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 97e75c1992a..be8a9d9d3a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2002-08-25 Andrew Choi + + * macterm.c (XTread_socket): Remove code to call + SendEventToEventTarget for keys with command modifiers when + mac_command_key_is_meta is nil. + 2002-08-24 Andreas Schwab * eval.c (Fdefvar): Fix last change. diff --git a/src/macterm.c b/src/macterm.c index e285480a9e9..dacdd6c8b91 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -12960,16 +12960,6 @@ XTread_socket (int sd, struct input_event *bufp, int numchars, int expected) bufp->code = KeyTranslate (kchr_ptr, new_keycode, &some_state) & 0xff; } -#if USE_CARBON_EVENTS - else if (er.modifiers & cmdKey && - (NILP (Vmac_command_key_is_meta))) - { - /* If this is a command key (and we are not overriding it), - send back to the operating system */ - SendEventToEventTarget (eventRef, GetEventDispatcherTarget ()); - break; - } -#endif else bufp->code = er.message & charCodeMask; bufp->kind = ASCII_KEYSTROKE_EVENT; -- 2.39.5