tUpdate config.def.h to include reverse cycling of windows - spkp - Stacking wayland compositor
(HTM) git clone git://git.z3bra.org/spkp.git
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 7cd85fd0d45f27540871c22f58c080c8b17b57dc
(DIR) parent 15b481aaaf63f5556727a33b5cb9507d3c84662a
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 13 Nov 2020 09:50:23 +0100
Update config.def.h to include reverse cycling of windows
Diffstat:
M config.def.h | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/config.def.h b/config.def.h
t@@ -5,7 +5,13 @@ float activecolor[4] = { 0.3, 0.3, 0.3, 1.0 };
int bordersize = 2;
+#define LOGO WLR_MODIFIER_LOGO
+#define ALT WLR_MODIFIER_ALT
+#define CTRL WLR_MODIFIER_CTRL
+#define SHFT WLR_MODIFIER_SHIFT
+
struct key keys[] = {
- { WLR_MODIFIER_LOGO, XKB_KEY_Escape, kb_terminate, {0} },
- { WLR_MODIFIER_ALT , XKB_KEY_Tab , kb_alttab , {0} },
+ { LOGO , XKB_KEY_Escape, kb_terminate, {0 } },
+ { ALT , XKB_KEY_Tab , kb_alttab , {.i = 0} },
+ { ALT|SHFT , XKB_KEY_Tab , kb_alttab , {.i = 1} },
};