diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-05-17 16:51:44 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-05-17 16:51:44 +0000 |
commit | 198228bec553ab1e43e6ddf7950339f638844310 (patch) | |
tree | f13e9634d3ec1c1ff4c78da9c14dadb457b70592 | |
parent | 7c2a378f1c2c3cbe98e26c19b4252f2a7a36fdc4 (diff) |
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-- | app/cwm/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index 35a76149b..13b2c0644 100644 --- a/app/cwm/client.c +++ b/app/cwm/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 |