Created
November 8, 2019 14:27
-
-
Save Tireg/dfbf0d7dc12fd8a3e533c808681b109a to your computer and use it in GitHub Desktop.
Fix gala's workspace reorder with mutter 3.34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Widgets/MultitaskingView.vala b/src/Widgets/MultitaskingView.vala | |
index cede706..35a1f28 100644 | |
--- a/src/Widgets/MultitaskingView.vala | |
+++ b/src/Widgets/MultitaskingView.vala | |
@@ -92,6 +92,9 @@ namespace Gala | |
manager.workspace_added.connect (add_workspace); | |
manager.workspace_removed.connect (remove_workspace); | |
+#if HAS_MUTTER334 | |
+ manager.workspaces_reordered.connect (() => update_positions (false)); | |
+#endif | |
manager.workspace_switched.connect_after ((from, to, direction) => { | |
update_positions (opened); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment