Commit a93daa03 authored by John Ralls's avatar John Ralls

[imquartz] Return event window for mouse events in keypress filter.

Closes: GNOME/gtk#1600
parent a02de1c9
Pipeline #52653 passed with stage
in 8 minutes and 7 seconds
......@@ -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);
}
......
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