[gnome-shell/gnome-41] windowManager: Change unfullscreen mode to NORMAL
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-41] windowManager: Change unfullscreen mode to NORMAL
- Date: Sun, 20 Mar 2022 20:21:30 +0000 (UTC)
commit ce25624407cc15c74a13f2d798e1769b8b92dea3
Author: Ivan Molodetskikh <yalterz gmail com>
Date: Sun Mar 6 15:03:29 2022 +0300
windowManager: Change unfullscreen mode to NORMAL
The unfullscreen action doesn't make sense in other modes. In the
overview in particular it also prevents clicking on the top bar items on
a workspace with a fullscreen client.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2227>
(cherry picked from commit 4bc195e79714f1c6787e05728a62e25b5b353040)
js/ui/windowManager.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 733bc67b14..625cbafdcd 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -939,7 +939,7 @@ var WindowManager = class {
appSwitchAction.connect('activated', this._switchApp.bind(this));
global.stage.add_action(appSwitchAction);
- let mode = Shell.ActionMode.ALL & ~Shell.ActionMode.LOCK_SCREEN;
+ let mode = Shell.ActionMode.NORMAL;
let topDragAction = new EdgeDragAction.EdgeDragAction(St.Side.TOP, mode);
topDragAction.connect('activated', () => {
let currentWindow = global.display.focus_window;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]