mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
don't toggle _WM_STATE_HIDDEN here yet
This commit is contained in:
parent
a61812d52d
commit
7eef4eb63d
4
client.c
4
client.c
@ -497,7 +497,7 @@ client_hide(struct client_ctx *cc)
|
||||
XUnmapWindow(X_Dpy, cc->win);
|
||||
|
||||
cc->flags &= ~CLIENT_ACTIVE;
|
||||
client_hidden(cc);
|
||||
cc->flags |= CLIENT_HIDDEN;
|
||||
client_set_wm_state(cc, IconicState);
|
||||
|
||||
if (cc == client_current())
|
||||
@ -512,7 +512,7 @@ client_unhide(struct client_ctx *cc)
|
||||
|
||||
XMapRaised(X_Dpy, cc->win);
|
||||
|
||||
client_hidden(cc);
|
||||
cc->flags &= ~CLIENT_HIDDEN;
|
||||
client_set_wm_state(cc, NormalState);
|
||||
client_draw_border(cc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user