RandR: use the next unused workspace instead of fixed counting
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user