summaryrefslogtreecommitdiffstats
path: root/cmd-display-panes.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-display-panes.c')
-rw-r--r--cmd-display-panes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-panes.c b/cmd-display-panes.c
index 06f6dc27..25556f3d 100644
--- a/cmd-display-panes.c
+++ b/cmd-display-panes.c
@@ -246,7 +246,7 @@ cmd_display_panes_key(struct client *c, void *data, struct key_event *event)
wp = window_pane_at_index(w, index);
if (wp == NULL)
return (1);
- window_unzoom(w);
+ window_unzoom(w, 1);
xasprintf(&expanded, "%%%u", wp->id);