diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2017-03-08 14:35:11 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2017-03-08 14:35:11 -0500 |
| commit | fd53884c0db73e917d42b6dfeab6b0809bc22cc8 (patch) | |
| tree | c1dc71ec38be37fd8dfbd0661884e66330a683e2 | |
| parent | 6920e53d647aaf22675130333b0083786cce0c5b (diff) | |
| parent | 70249d791e26ace228d8a4df9171112f535eb015 (diff) | |
Merge pull request #1105 from zandrmartin/fix-workspace-output-assignment
fix workspace output assignment
| -rw-r--r-- | sway/commands/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c index 7db1f332..b49a3a69 100644 --- a/sway/commands/workspace.c +++ b/sway/commands/workspace.c @@ -31,7 +31,7 @@ struct cmd_results *cmd_workspace(int argc, char **argv) { "Unable to allocate workspace output"); } wso->workspace = join_args(argv, argc - 2); - wso->output = strdup(argv[output_location]); + wso->output = strdup(argv[output_location + 1]); int i = -1; if ((i = list_seq_find(config->workspace_outputs, workspace_output_cmp_workspace, wso)) != -1) { struct workspace_output *old = config->workspace_outputs->items[i]; |
