aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorMihai Coman <mihai.cmn@gmail.com>2018-07-28 00:18:52 +0000
committerMihai Coman <mihai.cmn@gmail.com>2018-07-28 00:18:52 +0000
commitd37c94d1b666ba92562efbcd4bda2cb0c3ca4916 (patch)
treee5793d844c7b089bbf604e4b79a89a57304ae96a /sway
parentf6db3acd2424487c5170695540ac8a16b668237b (diff)
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);