spkp

Stacking wayland compositor
git clone git://git.z3bra.org/sp:kp.git
Log | Files | Refs

commit 7cd85fd0d45f27540871c22f58c080c8b17b57dc
parent 15b481aaaf63f5556727a33b5cb9507d3c84662a
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:
Mconfig.def.h | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -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} }, };