No need to call setup() multiple times

This commit is contained in:
speedie 2023-06-15 23:28:39 +02:00
parent 8bff8140e7
commit b9938cb25f

7
dwm.c
View file

@ -2592,7 +2592,12 @@ void
xrdb(const Arg *arg) xrdb(const Arg *arg)
{ {
load_xresources(); load_xresources();
setup();
for (int i = 0; i < LENGTH(colors); i++)
scheme[i] = drw_scm_create(drw, colors[i], 3);
focus(NULL);
arrange(NULL);
} }
void void