diff options
author | nicm <nicm> | 2018-11-06 15:13:13 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-11-06 15:13:13 +0000 |
commit | f9881b3b5de0c5ea8ee70dc95f5a5dd095e37bea (patch) | |
tree | ff047acd4eae5b8de9b6478e147cd1db2e2b1272 /cmd-switch-client.c | |
parent | ef904cfef2bbe655cba9a7455adde95814f341f4 (diff) |
Correctly unzoom and redraw panes in switch-client.
Diffstat (limited to 'cmd-switch-client.c')
-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); } |