summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-04-12 20:45:57 +0000
committerokan <okan>2013-04-12 20:45:57 +0000
commitef1b78f4649612a9db2614abcfe968cdec13e139 (patch)
tree3db5b38d18e353a7270f2456982fb5c54cba24ee
parentb5f6bd205c97405e85cf19f3a1f4f162400d7897 (diff)
downloadcwm-ef1b78f4649612a9db2614abcfe968cdec13e139.tar.gz
cwm-ef1b78f4649612a9db2614abcfe968cdec13e139.tar.xz
cwm-ef1b78f4649612a9db2614abcfe968cdec13e139.zip
we already set window state in client_hide or client_unhide right before, so
there's no need to do it again.
-rw-r--r--client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/client.c b/client.c
index 1750360..663b7c5 100644
--- a/client.c
+++ b/client.c
@@ -125,7 +125,6 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
 	xu_configure(cc);
 
 	(state == IconicState) ? client_hide(cc) : client_unhide(cc);
-	xu_setstate(cc, cc->state);
 
 	TAILQ_INSERT_TAIL(&sc->mruq, cc, mru_entry);
 	TAILQ_INSERT_TAIL(&Clientq, cc, entry);