mirror of
https://github.com/tmux/tmux.git
synced 2026-06-04 00:56:17 +00:00
Move the PANE_FLOATING flag into the layout cell and add an accessor.
From Dane Jensen.
This commit is contained in:
@@ -107,7 +107,7 @@ cmd_split_window_get_tiled_cell(struct cmdq_item *item, struct args *args,
|
||||
char *cause = NULL;
|
||||
int size;
|
||||
|
||||
if (wp->flags & PANE_FLOATING) {
|
||||
if (window_pane_is_floating(wp)) {
|
||||
cmdq_error(item, "can't split a floating pane");
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user