From 6c5ed563f0aba3052080f1c92d79a2fac68d301e Mon Sep 17 00:00:00 2001 From: bcattaneo Date: Sun, 23 Sep 2018 00:09:09 -0300 Subject: [PATCH] makes '/window item goto' search on all servers --- src/fe-common/core/window-commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fe-common/core/window-commands.c b/src/fe-common/core/window-commands.c index a81c0180..bf8cc8c3 100644 --- a/src/fe-common/core/window-commands.c +++ b/src/fe-common/core/window-commands.c @@ -541,6 +541,8 @@ static void cmd_window_item_goto(const char *data, SERVER_REC *server) item = tmp == NULL ? NULL : tmp->data; } else { item = window_item_find_window(active_win, server, target); + if (item == NULL) + item = window_item_find_window(active_win, NULL, target); } if (item != NULL)