changeset 70735:d0bad3102124

(XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]: Forward keyUp events to toolbox_dispatcher.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 19 May 2006 09:12:04 +0000
parents 625adc75815b
children 6e5b403b5586
files src/macterm.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.c	Fri May 19 09:11:47 2006 +0000
+++ b/src/macterm.c	Fri May 19 09:12:04 2006 +0000
@@ -10333,6 +10333,7 @@
 	  break;
 
 	case keyDown:
+	case keyUp:
 	case autoKey:
 	  {
 	    int keycode = (er.message & keyCodeMask) >> 8;
@@ -10354,6 +10355,8 @@
 		  != eventNotHandledErr)
 		break;
 #endif
+	    if (er.what == keyUp)
+	      break;
 
 #if 0
 	    if (dpyinfo->x_focus_frame == NULL)