Sync OpenBSD patchset 605:

mouse-select-pane has to redraw the borders now too.
pull/1/head
Tiago Cunha 2010-01-08 16:35:38 +00:00
parent a339427e45
commit 22101e3fe3
1 changed files with 2 additions and 1 deletions

View File

@ -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 <nicm@users.sourceforge.net>
@ -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);