diff options
author | okan <okan> | 2014-09-17 16:30:21 +0000 |
---|---|---|
committer | okan <okan> | 2014-09-17 16:30:21 +0000 |
commit | 7eef4eb63d7d2b2295091e6c1ccb68449e5a05e5 (patch) | |
tree | f52e30461c822dc6fa88465e769422f1e40a6bf4 /client.c | |
parent | a61812d52dfd2eb607516bfc7d5daa664070c8d3 (diff) | |
download | cwm-7eef4eb63d7d2b2295091e6c1ccb68449e5a05e5.tar.gz cwm-7eef4eb63d7d2b2295091e6c1ccb68449e5a05e5.tar.xz cwm-7eef4eb63d7d2b2295091e6c1ccb68449e5a05e5.zip |
don't toggle _WM_STATE_HIDDEN here yet
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c index 32774e6..55b32e4 100644 --- a/client.c +++ b/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); } |