forked from AuroraMiddleware/gtk
gdk: Remove remainings of fake crossing event delivery across touch
This was by all lights broken, and is basically an implementation detail of the X11 backend since the pointer emulating touch just steals the pointer cursor, so should be reimplemented there.
This commit is contained in:
parent
f3b0a3780e
commit
97139e4027
@ -787,17 +787,6 @@ switch_to_pointer_grab (GdkDisplay *display,
|
||||
|
||||
if (grab == NULL) /* Ungrabbed, send events */
|
||||
{
|
||||
/* If the source device is a touch device, do not
|
||||
* propagate any enter event yet, until one is
|
||||
* synthesized when needed.
|
||||
*/
|
||||
if (source_device &&
|
||||
(gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN))
|
||||
info->need_touch_press_enter = TRUE;
|
||||
|
||||
if (info->need_touch_press_enter)
|
||||
new_toplevel = NULL;
|
||||
|
||||
/* We're now ungrabbed, update the window_under_pointer */
|
||||
_gdk_display_set_window_under_pointer (display, device, new_toplevel);
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ typedef struct
|
||||
guint32 state;
|
||||
guint32 button;
|
||||
GdkDevice *last_slave;
|
||||
guint need_touch_press_enter : 1;
|
||||
} GdkPointerWindowInfo;
|
||||
|
||||
struct _GdkDisplay
|
||||
|
Loading…
Reference in New Issue
Block a user