mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
Merge pull request #2369 from mihaicmn/preserve-workspace-name
Preserve workspace name
This commit is contained in:
commit
7ad9d743fa
@ -124,9 +124,6 @@ static void workspace_name_from_binding(const struct sway_binding * binding,
|
||||
char *_target = strdup(name);
|
||||
_target = do_var_replacement(_target);
|
||||
strip_quotes(_target);
|
||||
while (isspace(*_target)) {
|
||||
memmove(_target, _target+1, strlen(_target+1));
|
||||
}
|
||||
wlr_log(WLR_DEBUG, "Got valid workspace command for target: '%s'",
|
||||
_target);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user