aboutsummaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-02-07 11:54:51 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-02-07 11:54:51 -0700
commit3425d4bda4641a1ca3082361ba756947f029fa8a (patch)
tree5ddc6b4a27f66913d1aa77cd7ab102d7cc2a0b78 /drw.c
parent51eabedba7501428a87f2a3bd9a76528ca79603b (diff)
downloaddwm-3425d4bda4641a1ca3082361ba756947f029fa8a.tar
dwm-3425d4bda4641a1ca3082361ba756947f029fa8a.tar.gz
dwm-3425d4bda4641a1ca3082361ba756947f029fa8a.tar.bz2
saving changes before redoing
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index 4cdbcbe..190420f 100644
--- a/drw.c
+++ b/drw.c
@@ -203,6 +203,7 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname)
DefaultColormap(drw->dpy, drw->screen),
clrname, dest))
die("error, cannot allocate color '%s'", clrname);
+ dest->pixel |= 0xff << 24;
}
/* Wrapper to create color schemes. The caller has to call free(3) on the