Commit 2abb0fde authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]:

Forward keyUp events to toolbox_dispatcher.
parent 91c88952
...@@ -10333,6 +10333,7 @@ XTread_socket (sd, expected, hold_quit) ...@@ -10333,6 +10333,7 @@ XTread_socket (sd, expected, hold_quit)
break; break;
case keyDown: case keyDown:
case keyUp:
case autoKey: case autoKey:
{ {
int keycode = (er.message & keyCodeMask) >> 8; int keycode = (er.message & keyCodeMask) >> 8;
...@@ -10354,6 +10355,8 @@ XTread_socket (sd, expected, hold_quit) ...@@ -10354,6 +10355,8 @@ XTread_socket (sd, expected, hold_quit)
!= eventNotHandledErr) != eventNotHandledErr)
break; break;
#endif #endif
if (er.what == keyUp)
break;
#if 0 #if 0
if (dpyinfo->x_focus_frame == NULL) if (dpyinfo->x_focus_frame == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment