mirror of
https://github.com/swaywm/sway
synced 2024-11-19 03:24:39 +01:00
Merge pull request #619 from mikkeloscar/fix-workspace-pr
Remove premature break in workspace_next_name
This commit is contained in:
commit
68f0baf3ec
@ -100,10 +100,9 @@ char *workspace_next_name(const char *output_name) {
|
|||||||
|
|
||||||
if (binding->order < order) {
|
if (binding->order < order) {
|
||||||
order = binding->order;
|
order = binding->order;
|
||||||
|
free(target);
|
||||||
target = _target;
|
target = _target;
|
||||||
sway_log(L_DEBUG, "Workspace: Found free name %s", _target);
|
sway_log(L_DEBUG, "Workspace: Found free name %s", _target);
|
||||||
free(dup);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(dup);
|
free(dup);
|
||||||
|
Loading…
Reference in New Issue
Block a user