mir: skip windows that aren't visible

This commit is contained in:
William Hua
2014-12-03 11:30:34 -05:00
parent 05de5b02cb
commit 4f19be1c82
3 changed files with 15 additions and 12 deletions

View File

@ -473,7 +473,7 @@ gdk_mir_event_source_convert_events (GdkMirEventSource *source)
x = event->event.motion.pointer_coordinates[0].x;
y = event->event.motion.pointer_coordinates[0].y;
child = _gdk_mir_window_get_transient_child (window, x, y, &x, &y);
child = _gdk_mir_window_get_visible_transient_child (window, x, y, &x, &y);
if (child && child != window)
{