How to access WindowClones on secondary monitor?





Hi,

I'm searching for a way to get all WindowClones/Overlays from the
secondary monitor. In my setup 2 monitors are connected.

In the sources there is this snippet:

---
for (let i = 0; i < monitors.length; i++) {
    if (this._workspacesOnlyOnPrimary && i != this._primaryIndex)
        view = new ExtraWorkspaceView(i);
    else
        view = new WorkspacesView(i);
...

    this._workspacesViews.push(view);
}
---

So with 2 monitors "_workspacesViews" should contain 2 instances of
WorkspacesViewBase. If _workspacesOnlyOnPrimary
(org.gnome.shell.overrides workspaces-only-on-primary) is set true I get
only one view, if it is set false I get two - as expected.

Best,

Paul




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