1
0
Fork 0

core: Add special case for the pad OSD in event handling

When it's active, we want wayland to stop handling (most notably key)
events.
This commit is contained in:
Carlos Garnacho 2016-06-29 13:51:55 +02:00
parent 21c8911254
commit 76595af8af

View file

@ -299,6 +299,12 @@ meta_display_handle_event (MetaDisplay *display,
goto out; goto out;
} }
if (display->current_pad_osd)
{
bypass_wayland = TRUE;
goto out;
}
if (window) if (window)
{ {
/* Events that are likely to trigger compositor gestures should /* Events that are likely to trigger compositor gestures should