mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-05-25 21:18:30 -04: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.