Hi, When mouse-select-pane and mouse-select-window are both enabled, clicking on the status line to select another window also changes the current pane of the active window to the one adjacent to the status line.
This is probably not what was intended, so make mouse-select-pane ignore clicks in the status line. diff --git a/server-client.c b/server-client.c index 6ed53b8..4065574 100644 --- a/server-client.c +++ b/server-client.c @@ -319,6 +319,8 @@ server_client_handle_key(int key, struct mouse_event *mouse, void *data) if (c->flags & CLIENT_READONLY) return; if (options_get_number(oo, "mouse-select-pane") && + (!(options_get_number(oo, "status") && + mouse->y + 1 == c->tty.sy)) && ((!(mouse->b & MOUSE_DRAG) && mouse->b != MOUSE_UP) || wp->mode != &window_copy_mode)) { /* ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users