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@
This commit is contained in:
okan
2008-05-19 12:56:58 +00:00
parent a94f4bbb7a
commit 7957a470fd
6 changed files with 23 additions and 1 deletions

View File

@@ -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);
}