forked from quickshell/quickshell
x11/panelwindow: fix multi monitor
Previously attached panels to the virtual desktop geometry instead of the screen geometry.
This commit is contained in:
parent
22c397bbb0
commit
815867c178
3 changed files with 36 additions and 17 deletions
|
@ -49,6 +49,8 @@ public:
|
|||
void setWidth(qint32 width) override;
|
||||
void setHeight(qint32 height) override;
|
||||
|
||||
void setScreen(QuickshellScreenInfo* screen) override;
|
||||
|
||||
[[nodiscard]] Anchors anchors() const;
|
||||
void setAnchors(Anchors anchors);
|
||||
|
||||
|
@ -77,11 +79,11 @@ signals:
|
|||
|
||||
private slots:
|
||||
void xInit();
|
||||
void connectScreen();
|
||||
void updateDimensions();
|
||||
void updatePanelStack();
|
||||
|
||||
private:
|
||||
void connectScreen();
|
||||
void getExclusion(int& side, quint32& exclusiveZone);
|
||||
void updateStrut();
|
||||
void updateAboveWindows();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue