gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
238 stars 14 forks source link

Windows gets snapped to unrelated zone #55

Open codeswhite opened 6 months ago

codeswhite commented 6 months ago

A bug when using [Ctrl+Alt+Left \ Right] to move a client that has no zone (client.zone == -1). Results in an unexpected snapping to unrelated zones. Instead, it would be preferred to snap to either the closest or the most overlapping zone.

https://github.com/gerritdevriese/kzones/blob/e5de36c51974cc28aa672218ef4bcc5a8c47754e/contents/ui/main.qml#L246