aboutsummaryrefslogtreecommitdiff
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-03-11 08:01:29 +0000
committerThomas Adam <thomas@xteddy.org>2021-03-11 08:01:29 +0000
commit12cfd0d22b630ead9c6d739b13c3409485ea551c (patch)
treeee2535b2b0e0075078cae6a2eb0bf5171d11078d /cmd-switch-client.c
parent541872bc5754a8f4daa84f23043c356f7ac4f663 (diff)
parentee0df1b8f8a9099fbd67a73c9fb20b89c64d6106 (diff)
downloadrtmux-12cfd0d22b630ead9c6d739b13c3409485ea551c.tar.gz
rtmux-12cfd0d22b630ead9c6d739b13c3409485ea551c.tar.bz2
rtmux-12cfd0d22b630ead9c6d739b13c3409485ea551c.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index fc7f9d75..b10496e3 100644
--- a/cmd-switch-client.c
+++ b/cmd-switch-client.c
@@ -118,7 +118,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item)
return (CMD_RETURN_NORMAL);
if (wl != NULL && wp != NULL && wp != wl->window->active) {
w = wl->window;
- if (window_push_zoom(w, args_has(args, 'Z')))
+ if (window_push_zoom(w, 0, args_has(args, 'Z')))
server_redraw_window(w);
window_redraw_active_switch(w, wp);
window_set_active_pane(w, wp, 1);