aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-27 21:24:22 -0400
committerGitHub <noreply@github.com>2018-07-27 21:24:22 -0400
commit7ad9d743faa485b35ee5d38224736f445db071d2 (patch)
treee5793d844c7b089bbf604e4b79a89a57304ae96a /sway
parentf6db3acd2424487c5170695540ac8a16b668237b (diff)
parentd37c94d1b666ba92562efbcd4bda2cb0c3ca4916 (diff)
Merge pull request #2369 from mihaicmn/preserve-workspace-name
Preserve workspace name
Diffstat (limited to 'sway')
-rw-r--r--sway/tree/workspace.c3
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);