From 22101e3fe3041539a96552b181d49b103c3774aa Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 8 Jan 2010 16:35:38 +0000 Subject: [PATCH] Sync OpenBSD patchset 605: mouse-select-pane has to redraw the borders now too. --- server-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server-client.c b/server-client.c index 42d7dfba..883d47fc 100644 --- a/server-client.c +++ b/server-client.c @@ -1,4 +1,4 @@ -/* $Id: server-client.c,v 1.28 2010-01-05 23:52:37 tcunha Exp $ */ +/* $Id: server-client.c,v 1.29 2010-01-08 16:35:38 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -289,6 +289,7 @@ server_client_handle_key(int key, struct mouse_event *mouse, void *data) if (key == KEYC_MOUSE) { if (options_get_number(oo, "mouse-select-pane")) { window_set_active_at(w, mouse->x, mouse->y); + server_redraw_window_borders(w); wp = w->active; } window_pane_mouse(wp, c, mouse);