aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Choi <[email protected]>2002-08-25 16:40:40 +0000
committerAndrew Choi <[email protected]>2002-08-25 16:40:40 +0000
commit19580e2cf6bb7e52f0aba60aca078349d8f1b8fa (patch)
tree2af1a9f9565e1aad7a46d44b144232ee5b97342b /src
parent476cf0130b8fc2a82bcdb7f05e43bbc0bebbf841 (diff)
2002-08-25 Andrew Choi <[email protected]>
* macterm.c (XTread_socket): Remove code to call SendEventToEventTarget for keys with command modifiers when mac_command_key_is_meta is nil.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/macterm.c10
2 files changed, 6 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 97e75c1992..be8a9d9d3a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-25 Andrew Choi <[email protected]>
+
+ * 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 <[email protected]>
* eval.c (Fdefvar): Fix last change.
diff --git a/src/macterm.c b/src/macterm.c
index e285480a9e..dacdd6c8b9 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;