summary refs log tree commit diff
diff options
context:
space:
mode:
authorsthen <sthen>2009-05-17 16:51:43 +0000
committersthen <sthen>2009-05-17 16:51:43 +0000
commit6df7cba24ed6c628a3640e8ce4d249d1ad91451b (patch)
treebc9270e5f2989eed04ddca133c374cbdc3d41f49
parent29cdc29c6e8fa06717eaa56d614c312ef9aa72f8 (diff)
downloadcwm-6df7cba24ed6c628a3640e8ce4d249d1ad91451b.tar.gz
cwm-6df7cba24ed6c628a3640e8ce4d249d1ad91451b.tar.xz
cwm-6df7cba24ed6c628a3640e8ce4d249d1ad91451b.zip
redraw the border when unhiding a client window. fixes the situation where
you change to a different group and the mouse isn't over a window; previously
the border of the previously active window was highlighted but it didn't
actually have focus.

reads ok to oga@.
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 33dbfa5..e1e0dbe 100644
--- a/client.c
+++ b/client.c
@@ -396,6 +396,7 @@ client_unhide(struct client_ctx *cc)
 	cc->highlight = 0;
 	cc->flags &= ~CLIENT_HIDDEN;
 	xu_setstate(cc, NormalState);
+	client_draw_border(cc);
 }
 
 void