=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.223 retrieving revision 1.224 diff -c -r1.223 -r1.224 *** src/usr.bin/tmux/input.c 2023/12/27 20:13:35 1.223 --- src/usr.bin/tmux/input.c 2024/04/10 07:36:25 1.224 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.223 2023/12/27 20:13:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.224 2024/04/10 07:36:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 2341,2347 **** switch (option) { case 0: case 2: ! if (screen_set_title(sctx->s, p) && wp != NULL) { notify_pane("pane-title-changed", wp); server_redraw_window_borders(wp->window); server_status_window(wp->window); --- 2341,2349 ---- switch (option) { case 0: case 2: ! if (wp != NULL && ! options_get_number(wp->options, "allow-set-title") && ! screen_set_title(sctx->s, p)) { notify_pane("pane-title-changed", wp); server_redraw_window_borders(wp->window); server_status_window(wp->window);