From 51a0c06ae5fd3c3c2698460f51dae1fb9af03310 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 17 May 2009 16:51:43 +0000 Subject: 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@. --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 35a7614..13b2c06 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.47 2009/01/23 20:47:45 okan Exp $ + * $Id: client.c,v 1.48 2009/05/17 16:51:43 sthen Exp $ */ #include "headers.h" @@ -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 -- cgit v1.2.3-2-gb3c3