diff options
author | Drew DeVault <[email protected]> | 2016-03-04 11:08:03 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2016-03-04 11:08:03 -0500 |
commit | ef5d8969464e1bfde08a081f1285b33014aa1707 (patch) | |
tree | 4f4400de4a29dfa18ae10da6e71ea60146190155 /sway/layout.c | |
parent | 79bfd620d6f7a3d089898ec6391411c2c6b22668 (diff) | |
parent | 8ddafeeaae44db77bfdb55d1776513d88a58f68e (diff) |
Merge pull request #501 from mikkeloscar/ws-on-output
Fix assigning workspaces to outputs
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); |