diff options
Diffstat (limited to 'x.c')
-rw-r--r-- | x.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -814,6 +814,8 @@ xsetcolorname(int x, const char *name) XftColorFree(xw.dpy, xw.vis, xw.cmap, &dc.col[x]); dc.col[x] = ncolor; + if (x == defaultbg) + dc.col[defaultbg].color.alpha = (unsigned short)(0xffff * alpha); return 0; } |