diff options
author | Sebastian Keller <skeller@gnome.org> | 2022-01-06 04:53:23 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2022-01-09 16:32:16 +0100 |
commit | bb5810c6f03dcc357887e27cf9ce5ef214cebf5a (patch) | |
tree | ab6c8f1b7647fe600b8a79c4644c826686394211 | |
parent | 9bf9a7958b75ee994f378da3f0cad4b50b8dedf4 (diff) | |
download | gnome-shell-bb5810c6f03dcc357887e27cf9ce5ef214cebf5a.tar.gz |
windowManager: Set correct unfullscreen gesture enabled state on startup40.8
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)
-rw-r--r-- | js/ui/windowManager.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index bdb3aba4f..1c5fc8885 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); |