[mutter] display: Wayland client grabs should not block Wayland input focus



commit bb62f49c98179111fab8f34df57df53b7265ae8a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Apr 12 00:20:27 2014 -0700

    display: Wayland client grabs should not block Wayland input focus
    
    This fixes menu issues with GTK+.

 src/core/display.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 8dba8a8..dc82cc0 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1304,6 +1304,9 @@ meta_grab_op_should_block_wayland (MetaGrabOp op)
   if (op == META_GRAB_OP_NONE)
     return FALSE;
 
+  if (op == META_GRAB_OP_WAYLAND_CLIENT)
+    return FALSE;
+
   /* Clicking on a frame button needs us to deliver events to the
    * frame window, since the button is part of the frame here. */
   if (meta_grab_op_is_clicking (op))


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