[gnome-shell/wip/wayland: 374/376] Layout: don't hide the top window group from pick on wayland



commit 2b42901cf703d1f9946f956bf920f624fb512126
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Thu Aug 15 16:44:17 2013 +0200

    Layout: don't hide the top window group from pick on wayland
    
    We need to pick the override redirect windows, or they won't receive
    events.

 js/ui/layout.js |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 6df7cb6..70d6ffe 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -227,10 +227,12 @@ const LayoutManager = new Lang.Class({
         this._backgroundGroup.lower_bottom();
         this._bgManagers = [];
 
-        // This blocks the XDND picks from finding the activities button
-        // and we never attempt to pick anything from it anyway so make
-        // it invisible from picks
-        Shell.util_set_hidden_from_pick(global.top_window_group, true);
+        if (!Meta.is_wayland_compositor()) {
+            // This blocks the XDND picks from finding the activities button
+            // and we never attempt to pick anything from it anyway so make
+            // it invisible from picks
+            Shell.util_set_hidden_from_pick(global.top_window_group, true);
+        }
 
         // Need to update struts on new workspaces when they are added
         global.screen.connect('notify::n-workspaces',


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