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().

(cherry picked from commit 7c49ac5242)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2180>
This commit is contained in:
Jonas Dreßler 2018-05-17 21:19:33 +02:00 committed by Florian Müllner
parent 1b53e8c90a
commit aef826b2b4

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