diff options
author | okan | 2012-10-31 19:30:19 +0000 |
---|---|---|
committer | okan | 2012-10-31 19:30:19 +0000 |
commit | 09592e294300150a2c627a176bdbec0fedf4e1d9 (patch) | |
tree | 408b348edf99fa03e26c6aee3e1b08229d0c3da5 /xutil.c | |
parent | 5854a666c86986a568f60c94ce1fa0fe10104405 (diff) | |
download | cwm-09592e294300150a2c627a176bdbec0fedf4e1d9.tar.gz |
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 '')
-rw-r--r-- | xutil.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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); -} |