=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-switch-client.c,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- src/usr.bin/tmux/cmd-switch-client.c 2020/05/16 15:45:29 1.66 +++ src/usr.bin/tmux/cmd-switch-client.c 2020/06/05 11:20:51 1.67 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-switch-client.c,v 1.66 2020/05/16 15:45:29 nicm Exp $ */ +/* $OpenBSD: cmd-switch-client.c,v 1.67 2020/06/05 11:20:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -116,7 +116,7 @@ } else { if (cmdq_get_client(item) == NULL) return (CMD_RETURN_NORMAL); - if (wl != NULL && wp != NULL) { + if (wl != NULL && wp != NULL && wp != wl->window->active) { w = wl->window; if (window_push_zoom(w, args_has(args, 'Z'))) server_redraw_window(w);