mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
gdk: Have Surface.check_autohide also check touch events
This commit is contained in:
parent
347f5fdda4
commit
067688684f
@ -2940,6 +2940,7 @@ check_autohide (GdkEvent *event)
|
|||||||
{
|
{
|
||||||
event_surface = gdk_event_get_surface (event);
|
event_surface = gdk_event_get_surface (event);
|
||||||
if (event_surface->autohide &&
|
if (event_surface->autohide &&
|
||||||
|
evtype != GDK_TOUCH_BEGIN &&
|
||||||
!event_surface->has_pointer)
|
!event_surface->has_pointer)
|
||||||
event_surface = NULL;
|
event_surface = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user