diff options
author | Aaron Ouellette <[email protected]> | 2016-03-18 17:09:11 -0400 |
---|---|---|
committer | Aaron Ouellette <[email protected]> | 2016-03-18 17:09:11 -0400 |
commit | 8af6a419ec6f4cfc596aabd5c820e7033cc760c4 (patch) | |
tree | d958fae88ea43df2e707830e5f6ca9bf6975a491 /sway/layout.c | |
parent | 133009b652e794bee083dbeb2fbdd2db787e84c6 (diff) | |
parent | 378a45cec23b76732a19d0027e1bba3ef2bf3752 (diff) |
Merge branch 'master' of git://github.com/SirCmpwn/sway into swaylock
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/layout.c b/sway/layout.c index dca4e47f..e9998bc8 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -364,7 +364,7 @@ void move_workspace_to(swayc_t* workspace, swayc_t* destination) { // make sure source output has a workspace if (src_op->children->length == 0) { - char *ws_name = workspace_next_name(); + char *ws_name = workspace_next_name(src_op->name); swayc_t *ws = new_workspace(src_op, ws_name); ws->is_focused = true; free(ws_name); |