we already set window state in client_hide or client_unhide right before, so

there's no need to do it again.
This commit is contained in:
okan 2013-04-12 20:45:57 +00:00
parent b5f6bd205c
commit ef1b78f464

View File

@ -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);