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 {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
visible: _winVisible
|
visible: _winVisible
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
visible: !S.DockState.open
|
visible: !S.DockState.open
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: bar
|
id: bar
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
WlrLayershell.layer: WlrLayer.Bottom
|
WlrLayershell.layer: WlrLayer.Bottom
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import "../services" as S
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
visible: S.NotifService.popups.length > 0 && !S.NiriIpc.overviewOpen
|
visible: S.NotifService.popups.length > 0 && !S.NiriIpc.overviewOpen
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import "../applets" as C
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import "../services" as S
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
WlrLayershell.layer: WlrLayer.Background
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import "../services" as S
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var screen
|
required property ShellScreen screen
|
||||||
|
|
||||||
visible: _winVisible
|
visible: _winVisible
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue