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