diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-06-29 13:51:55 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-07-22 13:31:09 +0200 |
commit | 76595af8afdefa9707e8f76cf94dcc08b9170e86 (patch) | |
tree | 8984d1a8344093b628ad35df4817a27d53b3168f | |
parent | 21c891125435e075bedefda8cf80a9b083bd4653 (diff) | |
download | mutter-76595af8afdefa9707e8f76cf94dcc08b9170e86.tar.gz |
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.
-rw-r--r-- | src/core/events.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/events.c b/src/core/events.c index 70647ea90..a99b99dc1 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -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 |