diff --git a/speedwm.c b/speedwm.c index 7ff6dbf..017bd1c 100644 --- a/speedwm.c +++ b/speedwm.c @@ -454,6 +454,7 @@ static void dynamicgrid(Monitor *m); #endif #if LAYOUT_CUSTOM static void custom(Monitor *m); +static void set_s_layout(const Arg *arg); #endif #if LAYOUT_DWINDLE static void dwindle(Monitor *m); @@ -733,7 +734,6 @@ static int systraypinningfailfirst = 1; #define SUPERR Mod5Mask /* Rest of the headers */ -#include "layouts.c" /* Enable patched layouts */ #include "autostart.h" /* Add autostart support */ #include "colors.h" /* Include colors */ #include "rules.h" /* Include rules */ @@ -759,6 +759,9 @@ static const char *statuscmd[] = { shell, "-c", NULL, NULL }; #include "signal.h" /* Include signal support */ +/* Layout code */ +#include "layouts.c" /* Enable patched layouts */ + unsigned int tagw[LENGTH(tags)]; struct Pertag {