gdk: Have Surface.check_autohide also check touch events

This commit is contained in:
Florian "sp1rit"​ 2024-10-10 14:06:03 +02:00
parent 347f5fdda4
commit 067688684f
No known key found for this signature in database
GPG Key ID: B1F4055D8460CE34

View File

@ -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;