mirror of
https://github.com/tmux/tmux.git
synced 2026-01-11 16:30:22 +00:00
focus-follows-mouse: honour floating panes
Make sure the z-ordering of floating panes is honoured when focus-follows-mouse is in use.
This commit is contained in:
@@ -1097,6 +1097,7 @@ have_event:
|
|||||||
if (wp != NULL &&
|
if (wp != NULL &&
|
||||||
wp != w->active &&
|
wp != w->active &&
|
||||||
options_get_number(s->options, "focus-follows-mouse")) {
|
options_get_number(s->options, "focus-follows-mouse")) {
|
||||||
|
window_redraw_active_switch(w, wp);
|
||||||
window_set_active_pane(w, wp, 1);
|
window_set_active_pane(w, wp, 1);
|
||||||
server_redraw_window_borders(w);
|
server_redraw_window_borders(w);
|
||||||
server_status_window(w);
|
server_status_window(w);
|
||||||
|
|||||||
Reference in New Issue
Block a user