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

Proper Z-order for switcher #119

Closed felixfung closed 1 year ago

felixfung commented 1 year ago

With this changes, switcher (alt-tab) follows proper z-order of windows, that is, the window layout is ordered top-bottom, left-right, with latest focused windows ordered first.

E.g. window configurations:

[1] [2] [3] [4]

with window [4] being the latest touched window etc.

Switcher gives this layout:

[4] [3] [2] [1]

with focus order [4]->[3]->[2]->[1]

Expose gives this layout:

[1] [2] [3] [4]

with focus order [1]->[3]->[2]->[4]

z-ordering preservation of paging works on a different code path, init_paging_layout(), and is still in progress.

@dreamcat4 can you please test this, since you use skippy like alt-tab?

felixfung commented 1 year ago

@dreamcat4 with newest commit it should be correct now...