diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-04-29 18:01:09 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-04-29 18:01:09 +0100 |
commit | 55d472a9fe9b3d4196b8307a65480f6d66b95e9c (patch) | |
tree | e76c0961ba35fa67566947ea0247dc0aed3e1ce4 /cmd-set-option.c | |
parent | ba9f32b464effc09b7ceaef21b1804c49ece17db (diff) | |
parent | eb8e76d4332e089e5cd3c5a3c9f4bf64c9474909 (diff) | |
download | rtmux-55d472a9fe9b3d4196b8307a65480f6d66b95e9c.tar.gz rtmux-55d472a9fe9b3d4196b8307a65480f6d66b95e9c.tar.bz2 rtmux-55d472a9fe9b3d4196b8307a65480f6d66b95e9c.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index b1771436..6fc6c8ba 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -201,6 +201,12 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq) if (strcmp(oe->name, "monitor-silence") == 0) alerts_reset_all(); + /* When the pane-border-status option has been changed, resize panes. */ + if (strcmp(oe->name, "pane-border-status") == 0) { + RB_FOREACH(w, windows, &windows) + layout_fix_panes(w, w->sx, w->sy); + } + /* Update sizes and redraw. May not need it but meh. */ recalculate_sizes(); TAILQ_FOREACH(c, &clients, entry) { |