summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2008-05-19 12:56:58 +0000
committerokan <okan>2008-05-19 12:56:58 +0000
commit7957a470fd60e9d50057989595dd3b36010211e2 (patch)
tree0a86bd03260e141244fa387e1ae54089646bb5f1 /client.c
parenta94f4bbb7a5771fd20c300893f6331aba9f4d571 (diff)
downloadcwm-7957a470fd60e9d50057989595dd3b36010211e2.tar.gz
cwm-7957a470fd60e9d50057989595dd3b36010211e2.tar.xz
cwm-7957a470fd60e9d50057989595dd3b36010211e2.zip
finally implement keyboard binding for group toggling
idea for the
    "slightly-less-abhorrent-hack-but-a-hack-nonetheless-TM" from oga@

grab and ungrab the keyboard to get around some silly X apps that like
stealing events

ok oga@
Diffstat (limited to 'client.c')
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 17023c9..dd50601 100644
--- a/client.c
+++ b/client.c
@@ -438,6 +438,7 @@ client_unhide(struct client_ctx *cc)
 	XMapWindow(X_Dpy, cc->win);
 	XMapRaised(X_Dpy, cc->pwin);
 
+	cc->highlight = 0;
 	cc->flags &= ~CLIENT_HIDDEN;
 	xu_setstate(cc, NormalState);
 }