From ef1b78f4649612a9db2614abcfe968cdec13e139 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 12 Apr 2013 20:45:57 +0000 Subject: [PATCH] we already set window state in client_hide or client_unhide right before, so there's no need to do it again. --- client.c | 1 - 1 file changed, 1 deletion(-) 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);