gnome/extensions/dash-to-dock@micxgx.gmail.com/appIcons.js
// This activates all windows in the current workspace.
This activates all windows in the current workspace.
This activates all windows in the current workspace .
_activateAllWindows() {
        if (!Docking.DockManager.settings.get_boolean('isolate-workspaces') &&
            !Docking.DockManager.settings.get_boolean('isolate-monitors'))
            this.app.activate();
        let windows = this.getInterestingWindows();
        let activeWorkspace = global.workspace_manager.get_active_workspace_index();
        if (windows.length <= 0)
            return;
        let activatedWindows = 0;
        for (let i = windows.length - 1; i >= 0; i--) {
            if (windows[i].get_workspace().index() == activeWorkspace) {
                Main.activateWindow(windows[i]);
                activatedWindows++;
            }
        }
    }
_activateAllWindows ( ) { if ( ! Docking . DockManager . settings . get_boolean ( 'isolate-workspaces' ) && ! Docking . DockManager . settings . get_boolean ( 'isolate-monitors' ) ) this . app . activate ( ) ; let windows = this . getInterestingWindows ( ) ; let activeWorkspace = global . workspace_manager . get_active_workspace_index ( ) ; if ( windows . length <= 0 ) return ; let activatedWindows = 0 ; for ( let i = windows . length - 1 ; i >= 0 ; i -- ) { if ( windows [ i ] . get_workspace ( ) . index ( ) == activeWorkspace ) { Main . activateWindow ( windows [ i ] ) ; activatedWindows ++ ; } } }
This activates all windows in the current workspace.
This activates all windows in the current workspace .
// First activate first window so workspace is switched if needed. // We don't do this if isolation is on! // then activate all other app windows in the current workspace