From 1eee3b9b3900aa520da3d5b9bf909855d64ba812 Mon Sep 17 00:00:00 2001 From: speediegq Date: Sat, 15 Oct 2022 15:22:56 +0200 Subject: [PATCH] move modifiers --- speedwm.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/speedwm.c b/speedwm.c index 9487491..a3d31d5 100644 --- a/speedwm.c +++ b/speedwm.c @@ -703,6 +703,14 @@ static Colormap cmap; static xcb_connection_t *xcon; #define FORCE_VSPLIT forcevsplit +/* Modifiers */ +#define CONTROL ControlMask +#define SHIFT ShiftMask +#define ALT Mod1Mask +#define ALTR Mod3Mask +#define SUPER Mod4Mask +#define SUPERR Mod5Mask + #if USEIPC #include "toggle/ipc.c" #endif @@ -725,14 +733,6 @@ static int systraypinningfailfirst = 1; #define cmd( cmd ) {.v = (const char*[]){ shell, "-c", cmd, NULL } }, #define SESSION_FILE "/tmp/speedwm-session" -/* Modifiers */ -#define CONTROL ControlMask -#define SHIFT ShiftMask -#define ALT Mod1Mask -#define ALTR Mod3Mask -#define SUPER Mod4Mask -#define SUPERR Mod5Mask - /* Rest of the headers */ #include "autostart.h" /* Add autostart support */ #include "colors.h" /* Include colors */