diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-11-07 14:04:49 +0100 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-11-08 20:35:25 +0100 |
| commit | 43e82adf0dc37411fdcc6406b3cdf5d572387b9f (patch) | |
| tree | 339e67345546ef560877003da618d4165d994b34 /config.def.h | |
| parent | Makefile: package all files with make dist (diff) | |
| download | dwm-43e82adf0dc37411fdcc6406b3cdf5d572387b9f.tar.gz dwm-43e82adf0dc37411fdcc6406b3cdf5d572387b9f.zip | |
separate program-specific c99 bool and X11
True, False are X11-specific (int), make sure to use c99 stdbool for
program-specific things.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h index 3fde3cf..76073a5 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -13,8 +13,8 @@ static const char selbgcolor[] = "#005577"; | |||
| 13 | static const char selfgcolor[] = "#eeeeee"; | 13 | static const char selfgcolor[] = "#eeeeee"; |
| 14 | static const unsigned int borderpx = 1; /* border pixel of windows */ | 14 | static const unsigned int borderpx = 1; /* border pixel of windows */ |
| 15 | static const unsigned int snap = 32; /* snap pixel */ | 15 | static const unsigned int snap = 32; /* snap pixel */ |
| 16 | static const Bool showbar = True; /* False means no bar */ | 16 | static const bool showbar = true; /* false means no bar */ |
| 17 | static const Bool topbar = True; /* False means bottom bar */ | 17 | static const bool topbar = true; /* false means bottom bar */ |
| 18 | 18 | ||
| 19 | /* tagging */ | 19 | /* tagging */ |
| 20 | static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; | 20 | static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
| @@ -25,14 +25,14 @@ static const Rule rules[] = { | |||
| 25 | * WM_NAME(STRING) = title | 25 | * WM_NAME(STRING) = title |
| 26 | */ | 26 | */ |
| 27 | /* class instance title tags mask isfloating monitor */ | 27 | /* class instance title tags mask isfloating monitor */ |
| 28 | { "Gimp", NULL, NULL, 0, True, -1 }, | 28 | { "Gimp", NULL, NULL, 0, true, -1 }, |
| 29 | { "Firefox", NULL, NULL, 1 << 8, False, -1 }, | 29 | { "Firefox", NULL, NULL, 1 << 8, false, -1 }, |
| 30 | }; | 30 | }; |
| 31 | 31 | ||
| 32 | /* layout(s) */ | 32 | /* layout(s) */ |
| 33 | static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ | 33 | static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ |
| 34 | static const int nmaster = 1; /* number of clients in master area */ | 34 | static const int nmaster = 1; /* number of clients in master area */ |
| 35 | static const Bool resizehints = True; /* True means respect size hints in tiled resizals */ | 35 | static const bool resizehints = true; /* true means respect size hints in tiled resizals */ |
| 36 | 36 | ||
| 37 | static const Layout layouts[] = { | 37 | static const Layout layouts[] = { |
| 38 | /* symbol arrange function */ | 38 | /* symbol arrange function */ |
