[gnome-shell/gnome-41] windowManager: Set correct unfullscreen gesture enabled state on startup



commit 645ef028e820d15a734c7388a140d3e554d74408
Author: Sebastian Keller <skeller gnome org>
Date:   Thu Jan 6 04:53:23 2022 +0100

    windowManager: Set correct unfullscreen gesture enabled state on startup
    
    The unfullscreen gesture was defaulting to enabled until the first
    window focus change. With it now being run in the capture phase, the
    gesture was preventing clicks in the top panel except on the activities
    button before the first window was opened.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2087>
    (cherry picked from commit f322e00ca545bdb3ea1fb2b4cf1cfbc5c498896d)

 js/ui/windowManager.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 9b990a0932..733bc67b14 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -954,6 +954,7 @@ var WindowManager = class {
 
         global.display.connect('notify::focus-window', updateUnfullscreenGesture);
         global.display.connect('in-fullscreen-changed', updateUnfullscreenGesture);
+        updateUnfullscreenGesture();
 
         global.stage.add_action(topDragAction);
 


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