Add support for clicking on a floating pane border to make it active. Including bugfix to click bottom border of floating panes.

This commit is contained in:
Michael Grant
2025-11-07 11:43:41 +01:00
parent 9c45dd693b
commit 329e9d54ab
4 changed files with 14 additions and 3 deletions

View File

@@ -160,6 +160,10 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
server_redraw_window_borders(markedwp->window);
server_status_window(markedwp->window);
}
if (wp->layout_cell == NULL) {
window_redraw_active_switch(w, wp);
window_set_active_pane(w, wp, 1);
}
return (CMD_RETURN_NORMAL);
}