diff options
-rw-r--r-- | client.c | 4 | ||||
-rw-r--r-- | conf.c | 4 |
2 files changed, 2 insertions, 6 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. * - * $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 @@ -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); - } /* |