mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-01-31 19:00:06 -05:00
If the window position is not specified, which is a reasonable thing to do when using the layer shell protocol, setWidth() and setHeight() can unintentionally change the screen() to the wrong one. This change adds a setScreen() function so it's harder to shoot yourself in the foot while using the layer shell protocol.