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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2098>
This commit is contained in:
Jonas Dreßler 2018-05-17 21:19:33 +02:00 committed by Marge Bot
parent c8f3db31b8
commit 7c49ac5242

View File

@ -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++) {