Bugfix: Go to the target workspace before changing focus on goto command (Thanks yurifury)

This commit is contained in:
Michael Stapelberg 2009-10-07 20:41:21 +02:00
parent df58981b57
commit 44c4c9d5a6
1 changed files with 1 additions and 0 deletions

View 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) if (current->mark == NULL || strcmp(current->mark, mark) != 0)
continue; continue;
workspace_show(conn, current->workspace->num + 1);
set_focus(conn, current, true); set_focus(conn, current, true);
return; return;
} }