mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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:
parent
6225cc6e60
commit
c90d7a373b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user