From c9a4d15f051acd48befc30c4f720b79afde01c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 7 Feb 2014 22:53:17 +0100 Subject: [PATCH] window-list: Filter skip-taskbar windows Applications now track all their windows, not just the ones that are expected to show up in the window list. So to restore the previous behavior, we now have to filter out windows with the skip-taskbar hint ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=724134 --- extensions/window-list/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index a0c9dd45..b107047a 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -315,7 +315,7 @@ const AppContextMenu = new Lang.Class({ _getWindowList: function() { let workspace = global.screen.get_active_workspace(); return this._app.get_windows().filter(function(win) { - return win.located_on_workspace(workspace); + return !win.skip_taskbar && win.located_on_workspace(workspace); }); }, @@ -436,7 +436,7 @@ const AppButton = new Lang.Class({ _getWindowList: function() { let workspace = global.screen.get_active_workspace(); return this.app.get_windows().filter(function(win) { - return win.located_on_workspace(workspace); + return !win.skip_taskbar && win.located_on_workspace(workspace); }); },