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
21c8911254
commit
76595af8af
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue