[gnome-shell] altTab: Also use getWindows() for AppSwitcher



commit 7c49ac52425dfa8b341c8e3c3d34e0c97d6bd405
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Thu May 17 21:19:33 2018 +0200

    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>

 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 78450ac789..adb5c96cd5 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++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]