Re: Alt+Tab behavior
Rhialto <[email protected]> Thu, 17 Dec 2020 15:49:31 +0100
| Newsgroups | gmane.comp.window-managers.ctwm |
|---|---|
| Message-ID | <[email protected]> |
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"
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAl/bb/cACgkQmYnGRWHD +9NCyAf+PPeAbZuNK6Nc17B3i2Mv+989hAg7PVyaUZqMUGJRat/G2jpIDuaTAmk6 cYz5iVZ7kfwq4lfjtO/fnpxvBH3gNIJqOw6qfWfm+NtnqEBiWW1KuMUkHLM+lyqd qmdfBC7JKSwVqLOuzZWXtFjHzByon1mAeaRFVlXu6ccKCLHuuqOj+LzK3mo5gSKx EeISyodct6tb8f5HMMsK59gXz/4B6HHyqxQIBoQbG7w29PfZ043DYaywfkjGsWRd nPjyywmdf2RueDe98nQH9SlOLfWJoQCcr+wOR8RgX5R2B0iLSwq6sBWSHAZCH7pi qvJM/avz728Mmw1T7o/XTSazCC/XBw== =pPrt -----END PGP SIGNATURE-----