[mutter] core: Add special case for the pad OSD in event handling



commit 76595af8afdefa9707e8f76cf94dcc08b9170e86
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jun 29 13:51:55 2016 +0200

    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 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/core/events.c b/src/core/events.c
index 70647ea..a99b99d 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]