mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
parent
35887fbdf6
commit
80d08270b8
9
client.c
9
client.c
@ -162,8 +162,13 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
|
||||
/* Notify client of its configuration. */
|
||||
xev_reconfig(cc);
|
||||
|
||||
XMapRaised(X_Dpy, cc->pwin);
|
||||
XMapWindow(X_Dpy, cc->win);
|
||||
if (state == IconicState)
|
||||
client_hide(cc);
|
||||
else {
|
||||
XMapRaised(X_Dpy, cc->pwin);
|
||||
XMapWindow(X_Dpy, cc->win);
|
||||
}
|
||||
|
||||
xu_setstate(cc, cc->state);
|
||||
|
||||
XSync(X_Dpy, False);
|
||||
|
Loading…
Reference in New Issue
Block a user