dreamcat4 / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
100 stars 12 forks source link

The number of paging desktops is now correct #157

Closed felixfung closed 1 year ago

felixfung commented 1 year ago

However, the "layout" of the desktops is still square. For example, if there are 5 virtual desktops, then it will be arranged like so:

8 8 8 8 8

And an empty row in the bottom to form 3x3 matrix.

Future PR can take config parameter for the dimension of the matrix.

@dreamcat4 please try

dreamcat4 commented 1 year ago

The behavior is indeed improved in the way as intended (for this PR).

The observed behavior after applying the commit is that:

The clientwin focus (highlight box) can now only land (or be moved on to) those first N 'real' desktops. So regardless of any extra empty grid squares still being rendered... those unused areas are now being correctly ignored / skipped over. And the mouse cannot select them either.

So in terms of what this PR aims to achieve: All confirmed working fine.