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

Add tracking layout per screen/desktop/activity #49

Closed trivoldus28 closed 11 months ago

trivoldus28 commented 11 months ago

Layout is now tracked per screen/desktop/activity, instead of one single activity across everything. This should address feature request https://github.com/gerritdevriese/kzones/issues/4

Adding support for screen was a bit tricky to tease out because of the difference between the "active screen" (where the mouse is pointing to) and the "active client" (where the window is on), but otherwise pretty straightforward. The only thing to note is that the default layout for all screen is now the first layout, which might be a bit inconvenient if the user is used to have a main layout that is not the first one in the list. Maybe this could be an config option.

trivoldus28 commented 11 months ago

I think it should be working correctly but maybe more testing is needed - maybe wait for a couple of days as I'll be using it and fix any bugs if there are.