summaryrefslogtreecommitdiffhomepage
path: root/drw.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-20 17:42:30 +0200
committerbakkeby <[email protected]>2020-08-20 17:42:30 +0200
commit6b9c484b787efaabf574a3f4217023aa87b5b5c4 (patch)
tree53663cb145f6fbeff683ae6cf058eecba4e8052e /drw.c
parentef287c46cdceac27614a1b117f80a140ecafc40d (diff)
downloaddwm-flexipatch-6b9c484b787efaabf574a3f4217023aa87b5b5c4.tar.gz
dwm-flexipatch-6b9c484b787efaabf574a3f4217023aa87b5b5c4.zip
Refactoring and simplifying color configuration in config.h
This involves always having configuration for floating border, regardless of whether it is used or not. Also permanently dropping the const expectation for color configuration in dwm, so that vtcolors and xrdb patches can change color configuration.
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drw.c b/drw.c
index b0e984a..4fab1b5 100644
--- a/drw.c
+++ b/drw.c
@@ -291,11 +291,7 @@ void
drw_clr_create(
Drw *drw,
Clr *dest,
- #if BAR_VTCOLORS_PATCH
- const char clrname[]
- #else
const char *clrname
- #endif // BAR_VTCOLORS_PATCH
#if BAR_ALPHA_PATCH
, unsigned int alpha
#endif // BAR_ALPHA_PATCH
@@ -326,13 +322,7 @@ drw_clr_create(
Clr *
drw_scm_create(
Drw *drw,
- #if BAR_VTCOLORS_PATCH
- char clrnames[][8],
- #elif XRDB_PATCH
char *clrnames[],
- #else
- const char *clrnames[],
- #endif // BAR_VTCOLORS_PATCH / XRDB_PATCH
#if BAR_ALPHA_PATCH
const unsigned int alphas[],
#endif // BAR_ALPHA_PATCH