Skip to content

Instantly share code, notes, and snippets.

@Visgean
Created May 27, 2018 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Visgean/ee2aa105d46bc91391b1c81539d11d7c to your computer and use it in GitHub Desktop.
Save Visgean/ee2aa105d46bc91391b1c81539d11d7c to your computer and use it in GitHub Desktop.
/usr/share/cinnamon/js/ui/windowManager.js

Use:

  [root@rewarch ui]# patch windowManager.js < windowManager.js.patch 
  patching file windowManager.js
--- windowManager.js 2018-05-22 08:00:01.000000000 +0200
+++ windowManagerFIXED.js 2018-05-03 14:49:34.144800711 +0200
@@ -980,12 +980,10 @@
_showWorkspaceSwitcher : function(display, screen, window, binding) {
if (binding.get_name() == 'switch-to-workspace-up') {
- Main.expo.toggle();
- return;
+ this.actionMoveWorkspaceUp();
}
if (binding.get_name() == 'switch-to-workspace-down') {
- Main.overview.toggle();
- return;
+ this.actionMoveWorkspaceDown();
}
if (screen.n_workspaces == 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment