x11/panelwindow: fix multi monitor

Previously attached panels to the virtual desktop geometry instead of
the screen geometry.
This commit is contained in:
outfoxxed 2024-08-15 18:46:06 -07:00
parent 22c397bbb0
commit 815867c178
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 36 additions and 17 deletions

View file

@ -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();