mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-09 12:10:09 +00:00
[imquartz] Return event window for mouse events in keypress filter.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1600
This commit is contained in:
parent
a02de1c9d9
commit
a93daa0373
@ -196,7 +196,7 @@ quartz_filter_keypress (GtkIMContext *context,
|
||||
{
|
||||
if (event->hardware_keycode == 0 && event->keyval == 0xffffff)
|
||||
/* update text input changes by mouse events */
|
||||
return output_result (context, win);
|
||||
return output_result (context, event->win);
|
||||
else
|
||||
return gtk_im_context_filter_keypress (qc->slave, event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user