From 620e3cef20710ef29996bbe13f0f66a09fa97c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 11 Feb 2014 16:32:11 +0100 Subject: [PATCH] appDisplay: Open new window on middle-click The current middle-click action of opening a new window on a new workspace is a bit peculiar; it is also not overly hard to achieve the same result by moving a new window to the desired workspace or selecting a workspace before opening a new window. Just opening a new window is also a more common action, so having a shortcut available that doesn't require a modifier is a good idea as well; change the middle-click behavior accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=695010 --- js/ui/appDisplay.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 4af4198e0..0d5328943 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1388,9 +1388,6 @@ const AppIcon = new Lang.Class({ if (button == 1) { this._onActivate(Clutter.get_current_event()); } else if (button == 2) { - // Last workspace is always empty - let launchWorkspace = global.screen.get_workspace_by_index(global.screen.n_workspaces - 1); - launchWorkspace.activate(global.get_current_time()); this.app.open_new_window(-1); Main.overview.hide(); }