summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2012-10-31 19:30:19 +0000
committerokan <okan>2012-10-31 19:30:19 +0000
commit4fb420514d73699acfc7ec1c35124cf7819a277f (patch)
treedf19048fe40a84ea2ca51ebfdcf360f3ffcb8dbc /xutil.c
parentc256052308d9135454b91fa16ba7aaef97923b4b (diff)
downloadcwm-4fb420514d73699acfc7ec1c35124cf7819a277f.tar.gz
cwm-4fb420514d73699acfc7ec1c35124cf7819a277f.tar.xz
cwm-4fb420514d73699acfc7ec1c35124cf7819a277f.zip
replace 'reload' with 'restart', which merely re-exec's cwm using the
existing argv; same idea with respect to argv saving as Alexander
Polakov.  reload support was half-complete and is getting in the way.

agreed to by many
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xutil.c b/xutil.c
index d3f7978..5dbc911 100644
--- a/xutil.c
+++ b/xutil.c
@@ -429,9 +429,3 @@ xu_getcolor(struct screen_ctx *sc, char *name)
 
 	return (color.pixel);
 }
-
-void
-xu_freecolor(struct screen_ctx *sc, unsigned long pixel)
-{
-	XFreeColors(X_Dpy, DefaultColormap(X_Dpy, sc->which), &pixel, 1, 0L);
-}