dreamcat4 / skippy-xd

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

Paging desktop offset to centre of screen #159

Closed felixfung closed 1 year ago

felixfung commented 1 year ago

This is continuation of #157. @dreamcat4 please test

the paging layout is rectangular such that screenwidth == ceil(sqrt(screencount)) and the screenheight == ceil(screencount / screenwidth)

dreamcat4 commented 1 year ago

i hope this clarifies here. because it's adhoc / not so formal working arrangements. to keep both on same page

dreamcat4 commented 1 year ago

(code was rebased)

dreamcat4 commented 1 year ago

testing result:

Previous behaviour (before merge):

____________________
[_____][_____][_____]
[_____][_____]

____________________

The new observed behaviour:

____________________

[_____][_____][_____]
[_____][_____]

____________________

So I don't see any issue or unindended consequences here with this. All seems fine.