summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2016-11-16 09:22:16 +0000
committernicm <nicm>2016-11-16 09:22:16 +0000
commit5636d38a9dd399856fd36d33f5d14595e4cafde1 (patch)
tree5dab1b7fbe296ecb6cd4a22c4c441d9809a6ffde /window.c
parente88b74350fba9e35307f35a8645b23e3cde9200a (diff)
Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin.
Diffstat (limited to 'window.c')
-rw-r--r--window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.c b/window.c
index 16929deb..1d4ba266 100644
--- a/window.c
+++ b/window.c
@@ -769,6 +769,7 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit)
wp->event = NULL;
wp->mode = NULL;
+ wp->modeprefix = 1;
wp->layout_cell = NULL;