mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-03-22 12:39:50 -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.