summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:22:25 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:22:25 +0000
commitec3be580ec1ee2949c60ec22a928a8f95ff3d994 (patch)
treea3da039d52cde2915f406ce458ac47044a0c3117 /cmd-set-option.c
parent02462e5e574ca5020b5a38bb2dda539bdea5dffb (diff)
|PatchSet 878
|Date: 2011/03/29 22:07:08 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Checking for particular options and redrawing is not necessary as we |already redraw unconditionally.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index bd890338..7541117e 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-option.c,v 1.109 2011-04-06 22:21:24 nicm Exp $ */
+/* $Id: cmd-set-option.c,v 1.110 2011-04-06 22:22:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -166,19 +166,6 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx)
server_redraw_client(c);
}
- /* 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 ||
- strcmp(oe->name, "set-titles-string") == 0 ||
- strcmp(oe->name, "window-status-format") == 0) {
- for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
- c = ARRAY_ITEM(&clients, i);
- if (c != NULL && c->session != NULL)
- server_redraw_client(c);
- }
- }
-
return (0);
}