From 0dd1308bf364ed7c2de8b4c81ded186922c7bc8b Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 10 Dec 2013 21:27:37 +0000 Subject: Redraw client border when unhiding; during a hide, we just unset the active flag but never redraw since it'll be in IconicState. Behaviour reported by sthen@ --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index de3cd1b..7470472 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. * - * $OpenBSD: client.c,v 1.152 2013/11/27 17:04:35 okan Exp $ + * $OpenBSD: client.c,v 1.153 2013/12/10 21:27:37 okan Exp $ */ #include @@ -471,6 +471,7 @@ client_unhide(struct client_ctx *cc) cc->flags &= ~CLIENT_HIDDEN; cc->state = NormalState; xu_set_wm_state(cc->win, cc->state); + client_draw_border(cc); } void -- cgit v1.2.3-2-gb3c3