SIGN IN SIGN UP

fix(bar): normalise onOtherMonitor to bool (#2050)

* fix(bar): normalise onOtherMonitor to bool

`onOtherMonitor` is a bool property but returns the monitor object when the
workspace is unoccupied, since showUnoccupied (default true) displays workspaces
that do not exist yet. This warns 'Unable to assign [undefined] to bool' and
makes off-monitor dimming silently not apply with perMonitor: false.

Closes #2049.

* Update modules/bar/components/workspaces/Workspace.qml

Co-authored-by: Danny Atropos <danny@atropos.cc>

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Co-authored-by: Danny Atropos <danny@atropos.cc>
I
I Putu Eddy Irawan committed
103e553829a97710f9034f7d7028825894f24eab
Parent: a17d58c
Committed by GitHub <noreply@github.com> on 9/19/2026, 10:33:09 AM