gnome/extensions/workspaces-to-dock@passingthru67.gmail.com/thumbnailCaption.js
// Tests if window app should be shown on this workspace
Tests if window app should be shown on this workspace
Tests if window app should be shown on this workspace
_showWindowAppOnThisWorkspace(actor, isMetaWin) {
        let win;
        if (isMetaWin) {
            win = actor;
        } else {
            win = actor.meta_window;
        }
        let workspaceManager = global.workspace_manager;
        let activeWorkspace = workspaceManager.get_active_workspace();
        if (this._settings.get_boolean('workspaces-only-on-primary')) {
            return (this._thumbnail.metaWorkspace == activeWorkspace && !win.skip_taskbar && win.is_on_all_workspaces());
        } else {
            return (win.located_on_workspace(this._thumbnail.metaWorkspace) && !win.skip_taskbar && win.showing_on_its_workspace());
        }
    }
_showWindowAppOnThisWorkspace ( actor , isMetaWin ) { let win ; if ( isMetaWin ) { win = actor ; } else { win = actor . meta_window ; } let workspaceManager = global . workspace_manager ; let activeWorkspace = workspaceManager . get_active_workspace ( ) ; if ( this . _settings . get_boolean ( 'workspaces-only-on-primary' ) ) { return ( this . _thumbnail . metaWorkspace == activeWorkspace && ! win . skip_taskbar && win . is_on_all_workspaces ( ) ) ; } else { return ( win . located_on_workspace ( this . _thumbnail . metaWorkspace ) && ! win . skip_taskbar && win . showing_on_its_workspace ( ) ) ; } }
Tests if window app should be shown on this workspace
Tests if window app should be shown on this workspace