remove bar dependency from modules, use QsWindow.window.screen instead
This commit is contained in:
parent
dc8344d0af
commit
b1d0be5d31
4 changed files with 5 additions and 16 deletions
|
|
@ -10,11 +10,9 @@ M.BarModule {
|
|||
spacing: 4
|
||||
cursorShape: Qt.ArrowCursor
|
||||
|
||||
required property var bar
|
||||
|
||||
property var _allWorkspaces: []
|
||||
property int _activeId: -1
|
||||
readonly property string _output: bar.screen?.name ?? ""
|
||||
readonly property string _output: QsWindow.window?.screen?.name ?? ""
|
||||
readonly property var _workspaces: _allWorkspaces.filter(w => w.output === root._output)
|
||||
|
||||
// Initial state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue