From 281da1fba3c4cf7c09351c088ec4f5793f9ce96e Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 19 May 2008 12:56:58 +0000 Subject: 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@ --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index a67e787..b869ab5 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.23 2008/05/18 20:00:16 okan Exp $ + * $Id: client.c,v 1.24 2008/05/19 12:56:58 okan Exp $ */ #include "headers.h" @@ -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); } -- cgit v1.2.3-2-gb3c3