aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:21:24 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:21:24 +0000
commit02462e5e574ca5020b5a38bb2dda539bdea5dffb (patch)
tree1e562e8046c9cad688bc33f4ce60b13fdf06458d /cmd-set-option.c
parentffce6b34b2da3b78fd0cfae9e031a54027d7f7a7 (diff)
downloadrtmux-02462e5e574ca5020b5a38bb2dda539bdea5dffb.tar.gz
rtmux-02462e5e574ca5020b5a38bb2dda539bdea5dffb.tar.bz2
rtmux-02462e5e574ca5020b5a38bb2dda539bdea5dffb.zip
|PatchSet 877
|Date: 2011/03/29 21:31:22 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Update an out-of-date and inaccurate comment.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index fbf08469..bd890338 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-option.c,v 1.108 2011-02-15 15:20:03 tcunha Exp $ */
+/* $Id: cmd-set-option.c,v 1.109 2011-04-06 22:21:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -166,11 +166,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx)
server_redraw_client(c);
}
- /*
- * Special-case: kill all persistent jobs if status-left, status-right
- * or set-titles-string have changed. Persistent jobs are only used by
- * the status line at the moment so this works XXX.
- */
+ /* Force redraw when some special cases change. */
if (strcmp(oe->name, "status-left") == 0 ||
strcmp(oe->name, "status-right") == 0 ||
strcmp(oe->name, "status") == 0 ||