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 6225cc6e60
commit c90d7a373b

View File

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