diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-27 21:24:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 21:24:22 -0400 |
commit | 7ad9d743faa485b35ee5d38224736f445db071d2 (patch) | |
tree | e5793d844c7b089bbf604e4b79a89a57304ae96a /sway | |
parent | f6db3acd2424487c5170695540ac8a16b668237b (diff) | |
parent | d37c94d1b666ba92562efbcd4bda2cb0c3ca4916 (diff) |
Merge pull request #2369 from mihaicmn/preserve-workspace-name
Preserve workspace name
Diffstat (limited to 'sway')
-rw-r--r-- | sway/tree/workspace.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 62974cd7..588e2aae 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -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); |