Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2025-10-13 10:01:08 +01:00
4 changed files with 24 additions and 3 deletions

View File

@@ -2657,7 +2657,9 @@ input_exit_apc(struct input_ctx *ictx)
return;
log_debug("%s: \"%s\"", __func__, ictx->input_buf);
if (screen_set_title(sctx->s, ictx->input_buf) && wp != NULL) {
if (wp != NULL &&
options_get_number(wp->options, "allow-set-title") &&
screen_set_title(sctx->s, ictx->input_buf)) {
notify_pane("pane-title-changed", wp);
server_redraw_window_borders(wp->window);
server_status_window(wp->window);