diff options
author | 2018-07-28 00:18:52 +0000 | |
---|---|---|
committer | 2018-07-28 00:18:52 +0000 | |
commit | d37c94d1b666ba92562efbcd4bda2cb0c3ca4916 (patch) | |
tree | e5793d844c7b089bbf604e4b79a89a57304ae96a /sway | |
parent | Merge pull request #2357 from RyanDwyer/cleanup-view-map (diff) | |
download | sway-d37c94d1b666ba92562efbcd4bda2cb0c3ca4916.tar.gz sway-d37c94d1b666ba92562efbcd4bda2cb0c3ca4916.tar.zst sway-d37c94d1b666ba92562efbcd4bda2cb0c3ca4916.zip |
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, | |||
124 | char *_target = strdup(name); | 124 | char *_target = strdup(name); |
125 | _target = do_var_replacement(_target); | 125 | _target = do_var_replacement(_target); |
126 | strip_quotes(_target); | 126 | strip_quotes(_target); |
127 | while (isspace(*_target)) { | ||
128 | memmove(_target, _target+1, strlen(_target+1)); | ||
129 | } | ||
130 | wlr_log(WLR_DEBUG, "Got valid workspace command for target: '%s'", | 127 | wlr_log(WLR_DEBUG, "Got valid workspace command for target: '%s'", |
131 | _target); | 128 | _target); |
132 | 129 | ||