fix multi-monitor: use ShellScreen type instead of var to avoid shadowing C++ screen property
This commit is contained in:
parent
29e06eadb5
commit
aeb4bf81e8
8 changed files with 8 additions and 8 deletions
|
|
@ -11,7 +11,7 @@ import "../modules" as M
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
visible: _winVisible
|
||||
color: "transparent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
visible: !S.DockState.open
|
||||
color: "transparent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
color: "transparent"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
|||
PanelWindow {
|
||||
id: bar
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
color: "transparent"
|
||||
WlrLayershell.layer: WlrLayer.Bottom
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
visible: S.NotifService.popups.length > 0 && !S.NiriIpc.overviewOpen
|
||||
color: "transparent"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import "../applets" as C
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
color: "transparent"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import "../services" as S
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
color: "transparent"
|
||||
WlrLayershell.layer: WlrLayer.Background
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import "../services" as S
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property var screen
|
||||
required property ShellScreen screen
|
||||
|
||||
visible: _winVisible
|
||||
color: "transparent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue