From 7c49ac52425dfa8b341c8e3c3d34e0c97d6bd405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 17 May 2018 21:19:33 +0200 Subject: [PATCH] altTab: Also use getWindows() for AppSwitcher Use our custom filtering for meta_display_get_tab_list() in AppSwitcher to be consistent and make sure the thumbnail list also includes the remapping done in getWindows(). Part-of: --- js/ui/altTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 78450ac78..adb5c96cd 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -693,7 +693,7 @@ class AppSwitcher extends SwitcherPopup.SwitcherList { workspace = workspaceManager.get_active_workspace(); } - let allWindows = global.display.get_tab_list(Meta.TabList.NORMAL, workspace); + let allWindows = getWindows(workspace); // Construct the AppIcons, add to the popup for (let i = 0; i < apps.length; i++) {