Merge pull request #2369 from mihaicmn/preserve-workspace-name

Preserve workspace name
This commit is contained in:
Drew DeVault 2018-07-27 21:24:22 -04:00 committed by GitHub
commit 7ad9d743fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);