x11/panelwindow: use Qt window default screen if none is provided

Fixes panels not updating geometry or attachments under X if a screen
was not explicitly provided by the user.
This commit is contained in:
outfoxxed 2025-07-13 18:30:48 -07:00
parent 9604302415
commit 59d29bb254
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
2 changed files with 14 additions and 9 deletions

View file

@ -92,7 +92,7 @@ private slots:
void onScreenVirtualGeometryChanged();
private:
void connectScreen();
void updateScreen();
void updateStrut(bool propagate = true);
void updateStrutCb() { this->updateStrut(); }
void updateAboveWindows();