dwm

fork of dwm
git clone git://popovic.xyz/dwm.git
Log | Files | Refs | README | LICENSE

commit 40981e9ef0afbea8f47dae7d07186f7f239cc8fa
parent b8c6470db87325d601724aceeff1b8012661e00b
Author: miksa234 <milutin@popovic.xyz>
Date:   Wed, 18 Oct 2023 17:12:45 +0100

fix const char colors to char colors

Diffstat:
Mconfig.def.h | 2+-
Mconfig.h | 2+-
Mdrw.c | 2+-
Mdrw.h | 2+-
Mdwm | 0
Mdwm.o | 0
6 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -14,7 +14,7 @@ static int smartgaps = 0; /* 1 means no outer gap when the static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ static int showbar = 1; /* 0 means no bar */ static int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "terminus:pixelsize=19:antialias=true:autohint=true:spacing=false", "Hack Nerd Font:pixelsize=16"}; +static const char *fonts[] = { "terminus:pixelsize=17:antialias=true:autohint=true:spacing=false", "Hack Nerd Font:pixelsize=16"}; static char normfgcolor[] = "#6c6c93"; static char normbgcolor[] = "#263238"; diff --git a/config.h b/config.h @@ -14,7 +14,7 @@ static int smartgaps = 0; /* 1 means no outer gap when the static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ static int showbar = 1; /* 0 means no bar */ static int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "terminus:pixelsize=19:antialias=true:autohint=true:spacing=false", "Hack Nerd Font:pixelsize=16"}; +static const char *fonts[] = { "terminus:pixelsize=17:antialias=true:autohint=true:spacing=false", "Hack Nerd Font:pixelsize=16"}; static char normfgcolor[] = "#6c6c93"; static char normbgcolor[] = "#263238"; diff --git a/drw.c b/drw.c @@ -211,7 +211,7 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname, unsigned int alpha) /* Wrapper to create color schemes. The caller has to call free(3) on the * returned color scheme when done using it. */ Clr * -drw_scm_create(Drw *drw, const char *clrnames[], const unsigned int alphas[], size_t clrcount) +drw_scm_create(Drw *drw, char *clrnames[], const unsigned int alphas[], size_t clrcount) { size_t i; Clr *ret; diff --git a/drw.h b/drw.h @@ -42,7 +42,7 @@ void drw_font_getexts(Fnt *font, const char *text, unsigned int len, unsigned in /* Colorscheme abstraction */ void drw_clr_create(Drw *drw, Clr *dest, const char *clrname, unsigned int alpha); -Clr *drw_scm_create(Drw *drw, const char *clrnames[], const unsigned int alphas[], size_t clrcount); +Clr *drw_scm_create(Drw *drw, char *clrnames[], const unsigned int alphas[], size_t clrcount); /* Cursor abstraction */ Cur *drw_cur_create(Drw *drw, int shape); diff --git a/dwm b/dwm Binary files differ. diff --git a/dwm.o b/dwm.o Binary files differ.