mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-07 16:54:01 +01:00
Sync OpenBSD patchset 605:
mouse-select-pane has to redraw the borders now too.
This commit is contained in:
parent
a339427e45
commit
22101e3fe3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user