On Thu 17 Dec 2020 at 09:09:22 -0500, Steve Litt wrote:
> What do you think?

We thought about this before, but I couldn't find it quickly, so I'll
summarize what I remember from it.

The big difference with a window stack is (assuming Alt-Tab as hotkey)
is that it does different things depending on when you let go of Alt.

For ctwm

    Alt-down Tab-downup Tab-downup Alt-up

is the same as

    Alt-down Tab-downup Alt-up Alt-down Tab-downup Alt-up

because it doesn't look at Alt-only key events (I think [1]).

But for the first sequence, you switch to the 2nd window down your
stack, and for the second one, you switch to the 1st window on your
stack and then back to the original (which is on top of the stack after
the first switch).

Also, you need to be able to express the difference in the key bindings
in some sensible manner.

Then the rest is trivial.

Patches welcome, I'd say.

Hmmmm if [1] isn't true, or could easily be fixed so that you can write
a key binding that matches an Alt-up or an Alt-down specifically,
possibly you could get quite far by using f.altkeymap to switch between
various states...  I didn't try to elaborate on this thought though.

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature

Reply via email to