From: Michael Stapelberg Date: Wed, 7 Oct 2009 18:41:21 +0000 (+0200) Subject: Bugfix: Go to the target workspace before changing focus on goto command (Thanks... X-Git-Tag: 3.d~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44c4c9d5a6666d02079d4c1e0b60640af9418426;p=i3%2Fi3 Bugfix: Go to the target workspace before changing focus on goto command (Thanks yurifury) --- diff --git a/src/commands.c b/src/commands.c index c566ffe1..4ef03d9c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -69,6 +69,7 @@ static void jump_to_mark(xcb_connection_t *conn, const char *mark) { if (current->mark == NULL || strcmp(current->mark, mark) != 0) continue; + workspace_show(conn, current->workspace->num + 1); set_focus(conn, current, true); return; }