From 76595af8afdefa9707e8f76cf94dcc08b9170e86 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 29 Jun 2016 13:51:55 +0200 Subject: [PATCH] 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. --- src/core/events.c | 6 ++++++ 1 file changed, 6 insertions(+) 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