From 09592e294300150a2c627a176bdbec0fedf4e1d9 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 31 Oct 2012 19:30:19 +0000 Subject: 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 --- xutil.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'xutil.c') diff --git a/xutil.c b/xutil.c index bc0c745..11f342b 100644 --- a/xutil.c +++ b/xutil.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xutil.c,v 1.45 2012/07/13 17:01:05 okan Exp $ + * $OpenBSD: xutil.c,v 1.46 2012/10/31 19:30:19 okan Exp $ */ #include @@ -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); -} -- cgit v1.2.3-2-gb3c3