=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-set-option.c,v retrieving revision 1.126 retrieving revision 1.127 diff -c -r1.126 -r1.127 *** src/usr.bin/tmux/cmd-set-option.c 2019/06/20 07:41:29 1.126 --- src/usr.bin/tmux/cmd-set-option.c 2019/06/20 11:59:59 1.127 *************** *** 1,4 **** ! /* $OpenBSD: cmd-set-option.c,v 1.126 2019/06/20 07:41:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-set-option.c,v 1.127 2019/06/20 11:59:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 43,52 **** .name = "set-option", .alias = "set", ! .args = { "aFgoqst:uw", 1, 2 }, ! .usage = "[-aFgosquw] [-t target-window] option [value]", ! .target = { 't', CMD_FIND_WINDOW, CMD_FIND_CANFAIL }, .flags = CMD_AFTERHOOK, .exec = cmd_set_option_exec --- 43,52 ---- .name = "set-option", .alias = "set", ! .args = { "aFgopqst:uw", 1, 2 }, ! .usage = "[-aFgopqsuw] " CMD_TARGET_PANE_USAGE " option [value]", ! .target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL }, .flags = CMD_AFTERHOOK, .exec = cmd_set_option_exec *************** *** 88,98 **** struct session *s = fs->s; struct winlink *wl = fs->wl; struct window *w; ! enum options_table_scope scope; struct options *oo; struct options_entry *parent, *o; char *name, *argument, *value = NULL, *cause; int window, idx, already, error, ambiguous; struct style *sy; window = (self->entry == &cmd_set_window_option_entry); --- 88,99 ---- struct session *s = fs->s; struct winlink *wl = fs->wl; struct window *w; ! struct window_pane *wp; struct options *oo; struct options_entry *parent, *o; char *name, *argument, *value = NULL, *cause; int window, idx, already, error, ambiguous; + int scope; struct style *sy; window = (self->entry == &cmd_set_window_option_entry); *************** *** 249,256 **** alerts_reset_all(); if (strcmp(name, "window-style") == 0 || strcmp(name, "window-active-style") == 0) { ! RB_FOREACH(w, windows, &windows) ! w->flags |= WINDOW_STYLECHANGED; } if (strcmp(name, "pane-border-status") == 0) { RB_FOREACH(w, windows, &windows) --- 250,257 ---- alerts_reset_all(); if (strcmp(name, "window-style") == 0 || strcmp(name, "window-active-style") == 0) { ! RB_FOREACH(wp, window_pane_tree, &all_window_panes) ! wp->flags |= PANE_STYLECHANGED; } if (strcmp(name, "pane-border-status") == 0) { RB_FOREACH(w, windows, &windows)