This commit is contained in:
Michael Stapelberg 2011-11-10 18:38:29 +00:00
parent 7f9b65f6a7
commit 62f0a9e21d

View File

@ -360,7 +360,7 @@ Con* workspace_prev() {
if (child->type != CT_WORKSPACE) if (child->type != CT_WORKSPACE)
continue; continue;
if (child == current) { if (child == current) {
found_current = 1; found_current = true;
} else if (child->num == -1 && (current->num != -1 || found_current)) { } else if (child->num == -1 && (current->num != -1 || found_current)) {
prev = child; prev = child;
goto workspace_prev_end; goto workspace_prev_end;