]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: Switch to the next window on `Alt+Tab`, prev on `Alt+Esc` master
authorOleg Broytman <phd@phdru.name>
Wed, 17 Sep 2025 08:50:57 +0000 (11:50 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 17 Sep 2025 08:50:57 +0000 (11:50 +0300)
.fvwm/main.m4

index b76953ca8cabfe534ea95bb8047d29a946feacb2..fb142fa3f0bfb061875f4449f8ffe4a233565965 100644 (file)
@@ -470,9 +470,10 @@ Key Right       A       SM      CursorMove +10  +0
 Key Up          A       SM      CursorMove +0  -10
 Key Down        A       SM      CursorMove +0  +10
 
-# Switch window, mswindows style :)
-Key Tab         A       M       Next [*] focus
-Key Escape      A       M       Prev [*] focus
+# Switch to the next window on Alt+Tab, prev on Alt+Esc
+# See https://www.fvwm.org/Wiki/CookBook/AltTab/
+Key Tab         A       M       Next (CurrentDesk, AcceptsFocus) focus
+Key Escape      A       M       Prev (CurrentDesk, AcceptsFocus) focus
 
 # Goto desktop/page
 Key 1           A       CM      Desk 0 0