From 5065e7cff4666b454fb3c16be050811f58b9f24f Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 20 Jun 2009 00:19:56 +0000 Subject: spacing --- client.c | 4 +--- conf.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/client.c b/client.c index 1c80e1c..47218f3 100644 --- a/client.c +++ b/client.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. * - * $Id: client.c,v 1.52 2009/06/17 12:45:01 okan Exp $ + * $Id: client.c,v 1.53 2009/06/20 00:19:56 okan Exp $ */ #include "headers.h" @@ -166,7 +166,6 @@ client_delete(struct client_ctx *cc) } client_freehints(cc); - xfree(cc); return (0); @@ -439,7 +438,6 @@ client_update(struct client_ctx *cc) void client_send_delete(struct client_ctx *cc) { - if (cc->xproto & CLIENT_PROTO_DELETE) xu_sendmsg(cc, WM_PROTOCOLS, WM_DELETE_WINDOW); else diff --git a/conf.c b/conf.c index c1a70ca..ef26183 100644 --- a/conf.c +++ b/conf.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. * - * $Id: conf.c,v 1.63 2009/05/30 00:30:27 okan Exp $ + * $Id: conf.c,v 1.64 2009/06/20 00:19:56 okan Exp $ */ #include "headers.h" @@ -69,7 +69,6 @@ conf_color(struct conf *c) sc = screen_current(); - for (i = 0; i < CWM_COLOR_MAX; i++) { xu_freecolor(sc, sc->color[i].pixel); sc->color[i].pixel = xu_getcolor(sc, c->color[i].name); @@ -408,7 +407,6 @@ conf_grab(struct conf *c, struct keybinding *kb) TAILQ_FOREACH(sc, &Screenq, entry) xu_key_grab(sc->rootwin, kb->modmask, kb->keysym); - } /* -- cgit v1.2.3-2-gb3c3