[gnome-shell/wip/fmuellner/ws-gesture-animations: 7/8] windowManager: Limit switch gestures to normal mode
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/ws-gesture-animations: 7/8] windowManager: Limit switch gestures to normal mode
- Date: Thu, 21 Mar 2019 11:02:58 +0000 (UTC)
commit ed6f71e7038aa4672d401fb0886484b8529fdf0d
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Mar 20 15:21:01 2019 +0000
windowManager: Limit switch gestures to normal mode
The window group is hidden while in overview, so the stick-to-content
animation isn't visible either. Worse, the gestures messes up the
position of window actors in that case. Just limit the gesture to
normal mode for now, we will soon add it back in the overview with
its own animation handling.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/516
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 089035ba5..e8bd0a690 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -1058,7 +1058,7 @@ var WindowManager = class {
global.workspace_manager.override_workspace_layout(Meta.DisplayCorner.TOPLEFT,
false, -1, 1);
- let allowedModes = Shell.ActionMode.NORMAL | Shell.ActionMode.OVERVIEW;
+ let allowedModes = Shell.ActionMode.NORMAL;
let gesture = new WorkspaceSwitchAction(allowedModes);
gesture.connect('motion', this._switchWorkspaceMotion.bind(this));
gesture.connect('activated', this._actionSwitchWorkspace.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]