aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client.c4
-rw-r--r--conf.c4
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);
-
}
/*