diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-04-09 16:01:45 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-04-09 16:01:45 +0100 |
commit | 52e3d960e7ebe2006509d48c427ffd8f25a0cf52 (patch) | |
tree | 8f6deb3d44616e92ff05735b4c587dfe3c5d8235 /cmd-switch-client.c | |
parent | 916c3787d7464f66287f83814d563ff36ff3a96a (diff) | |
parent | 26f5dfbe46c75f8b907ee75daaadde9a310d8dfb (diff) | |
download | rtmux-52e3d960e7ebe2006509d48c427ffd8f25a0cf52.tar.gz rtmux-52e3d960e7ebe2006509d48c427ffd8f25a0cf52.tar.bz2 rtmux-52e3d960e7ebe2006509d48c427ffd8f25a0cf52.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 61677761..cf84c319 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -73,7 +73,6 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) return (CMD_RETURN_ERROR); s = item->target.s; wl = item->target.wl; - w = wl->window; wp = item->target.wp; if (args_has(args, 'r')) @@ -115,6 +114,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) if (item->client == NULL) return (CMD_RETURN_NORMAL); if (wl != NULL && wp != NULL) { + w = wl->window; if (window_push_zoom(w, args_has(self->args, 'Z'))) server_redraw_window(w); window_redraw_active_switch(w, wp); |