RandR: use the next unused workspace instead of fixed counting

This commit is contained in:
Michael Stapelberg
2011-01-05 00:26:23 +01:00
parent f73c02ce92
commit 2312187439
2 changed files with 27 additions and 6 deletions

View File

@ -26,7 +26,7 @@ Con *workspace_get(const char *num) {
TAILQ_FOREACH(output, &(croot->nodes_head), nodes) {
TAILQ_FOREACH(current, &(output->nodes_head), nodes) {
if (strcasecmp(current->name, num) != 0)
continue;
continue;
workspace = current;
break;