Zoomed panes are now like full screen floating panes.

This commit is contained in:
Michael Grant
2026-09-30 23:10:40 +01:00
parent 5a820e63b7
commit 7810f8abf3
29 changed files with 752 additions and 621 deletions

View File

@@ -72,6 +72,9 @@ static const char *options_table_pane_scrollbars_position_list[] = {
static const char *options_table_pane_status_list[] = {
"off", "top", "bottom", "top-floating", "bottom-floating", NULL
};
static const char *options_table_pane_raise_on_focus_list[] = {
"floating", "all", "off", NULL
};
static const char *options_table_pane_border_indicators_list[] = {
"off", "colour", "arrows", "both", NULL
};
@@ -1631,6 +1634,16 @@ const struct options_table_entry options_table[] = {
.text = "The default colour palette for colours zero to 255."
},
{ .name = "pane-raise-on-focus",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW,
.choices = options_table_pane_raise_on_focus_list,
.default_num = PANE_RAISE_FLOATING,
.text = "Which panes are raised to the front when they are made "
"active: floating panes only, floating and zoomed panes, or "
"none."
},
{ .name = "pane-scrollbars",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW,