1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00

2002-08-25 Andrew Choi <akochoi@shaw.ca>

* macterm.c (XTread_socket): Remove code to call
        SendEventToEventTarget for keys with command modifiers when
        mac_command_key_is_meta is nil.
This commit is contained in:
Andrew Choi 2002-08-25 16:40:40 +00:00
parent 476cf0130b
commit 19580e2cf6
2 changed files with 6 additions and 10 deletions

View file

@ -1,3 +1,9 @@
2002-08-25 Andrew Choi <akochoi@shaw.ca>
* 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 <schwab@suse.de>
* eval.c (Fdefvar): Fix last change.

View file

@ -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;