summaryrefslogtreecommitdiff
path: root/src/fe-common/core/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/window-commands.c')
-rw-r--r--src/fe-common/core/window-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/window-commands.c b/src/fe-common/core/window-commands.c
index 48fe865e..462125a0 100644
--- a/src/fe-common/core/window-commands.c
+++ b/src/fe-common/core/window-commands.c
@@ -127,7 +127,7 @@ static void cmd_window_goto(const char *data)
if (g_strcasecmp(data, "active") == 0)
window = window_highest_activity(active_win);
else
- window = window_find_item(active_win, data);
+ window = window_find_item(active_win->active_server, data);
if (window != NULL)
window_set_active(window);