summaryrefslogtreecommitdiffstats
path: root/cmd-rotate-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-rotate-window.c')
-rw-r--r--cmd-rotate-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c
index c69fa8d1..c12345d6 100644
--- a/cmd-rotate-window.c
+++ b/cmd-rotate-window.c
@@ -48,7 +48,7 @@ cmd_rotate_window_init(struct cmd *self, int key)
cmd_target_init(self, key);
data = self->data;
- if (key == KEYC_ADDESC('o'))
+ if (key == ('o' | KEYC_ESCAPE))
data->chflags |= CMD_CHFLAG('D');
}