gdk: Don't change window_under_pointer for pure touch events
Only touch events that emulate the pointer do change it.
This commit is contained in:
committed by
Matthias Clasen
parent
5d10309214
commit
16c6d9ce94
@@ -9297,7 +9297,9 @@ proxy_pointer_event (GdkDisplay *display,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (pointer_info->window_under_pointer != pointer_window)
|
||||
if ((source_event->type != GDK_TOUCH_UPDATE ||
|
||||
_gdk_event_get_pointer_emulated (source_event)) &&
|
||||
pointer_info->window_under_pointer != pointer_window)
|
||||
{
|
||||
/* Either a toplevel crossing notify that ended up inside a child window,
|
||||
or a motion notify that got into another child window */
|
||||
|
||||
Reference in New Issue
Block a user