diff options
author | Thomas Adam <thomas@xteddy.org> | 2018-11-06 16:02:37 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2018-11-06 16:02:37 +0000 |
commit | 99072e1d815f54004cd827103b95d6cba0df48f8 (patch) | |
tree | 533b0fb3a1ea403f7e3d7c707ab21e8ae432810f | |
parent | b1ad075d117f32fcb6e2e81ad0b48149f3985fb5 (diff) | |
parent | f9881b3b5de0c5ea8ee70dc95f5a5dd095e37bea (diff) | |
download | rtmux-99072e1d815f54004cd827103b95d6cba0df48f8.tar.gz rtmux-99072e1d815f54004cd827103b95d6cba0df48f8.tar.bz2 rtmux-99072e1d815f54004cd827103b95d6cba0df48f8.zip |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-switch-client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 6181073d..3e19346e 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -113,8 +113,11 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) if (item->client == NULL) return (CMD_RETURN_NORMAL); if (wl != NULL) { - if (wp != NULL) + server_unzoom_window(wl->window); + if (wp != NULL) { + window_redraw_active_switch(wp->window, wp); window_set_active_pane(wp->window, wp); + } session_set_current(s, wl); cmd_find_from_session(&item->shared->current, s, 0); } |