mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
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:
parent
b5f6bd205c
commit
ef1b78f464
1
client.c
1
client.c
@ -125,7 +125,6 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
|
|||||||
xu_configure(cc);
|
xu_configure(cc);
|
||||||
|
|
||||||
(state == IconicState) ? client_hide(cc) : client_unhide(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(&sc->mruq, cc, mru_entry);
|
||||||
TAILQ_INSERT_TAIL(&Clientq, cc, entry);
|
TAILQ_INSERT_TAIL(&Clientq, cc, entry);
|
||||||
|
Loading…
Reference in New Issue
Block a user