changeset 47030:085ca259e580

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.
author Andrew Choi <akochoi@shaw.ca>
date Sun, 25 Aug 2002 16:40:40 +0000
parents a00524dd3f6b
children 56242900e171
files src/ChangeLog src/macterm.c
diffstat 2 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Aug 25 08:29:51 2002 +0000
+++ b/src/ChangeLog	Sun Aug 25 16:40:40 2002 +0000
@@ -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.
--- a/src/macterm.c	Sun Aug 25 08:29:51 2002 +0000
+++ b/src/macterm.c	Sun Aug 25 16:40:40 2002 +0000
@@ -12960,16 +12960,6 @@
 	          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;