summaryrefslogtreecommitdiff
path: root/app/cwm/xutil.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-10-31 19:30:20 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-10-31 19:30:20 +0000
commit17cb53f9b11452cfdeefa8e6cb8e2d749aaa22ad (patch)
treef1abb4670fd1f503cea2dd7e67ad4c1d2da9010b /app/cwm/xutil.c
parent39ac1b1cfdfa103f5959bb2c021f5dbf9d0db26b (diff)
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 'app/cwm/xutil.c')
-rw-r--r--app/cwm/xutil.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c
index bc0c74508..11f342bce 100644
--- a/app/cwm/xutil.c
+++ b/app/cwm/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 <sys/param.h>
@@ -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);
-}