]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Go to the target workspace before changing focus on goto command (Thanks...
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 7 Oct 2009 18:41:21 +0000 (20:41 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 7 Oct 2009 18:41:21 +0000 (20:41 +0200)
src/commands.c

index c566ffe16d7b93205fcc3c185e129a534ebd5ec3..4ef03d9cd37de96fddc59b49c5ff98b25ff20ef2 100644 (file)
@@ -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;
                 }