From 4246affc15dd378a33c58504b4abf3893b8c84cc Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sat, 17 May 2008 14:38:22 +0100 Subject: moved all tile()-related stuff into tile.c which is included from config.def.h, the default dwm is now nearly independent from the arrange() algorithm in use --- config.def.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 8bd6b69a..f35769c4 100644 --- a/config.def.h +++ b/config.def.h @@ -9,6 +9,7 @@ #define SELBORDERCOLOR "#0066ff" #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" +#define SNAP 32 /* snap pixel */ /* tagging */ const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -19,15 +20,14 @@ Rule rules[] = { }; /* layout(s) */ -#define MFACT 0.55 /* master factor [0.1 .. 0.9] */ #define RESIZEHINTS True /* False - respect size hints in tiled resizals */ -#define SNAP 32 /* snap pixel */ - +#define MFACT 0.55 /* master factor [0.1 .. 0.9] */ +#include "tile.c" Layout layouts[] = { - /* symbol function */ - { "[]=", tile }, /* first entry is default */ - { "><>", NULL }, /* no layout function means floating behavior */ - { "", monocle }, /* TODO: remove this */ + /* symbol arrange geom */ + { "[]=", tile, tilegeom }, /* first entry is default */ + { "><>", NULL, }, /* no layout function means floating behavior */ + { "", monocle, NULL }, /* TODO: remove this */ }; /* key definitions */ -- cgit v1.2.3