diff options
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) { | |||
364 | 364 | ||
365 | // make sure source output has a workspace | 365 | // make sure source output has a workspace |
366 | if (src_op->children->length == 0) { | 366 | if (src_op->children->length == 0) { |
367 | char *ws_name = workspace_next_name(); | 367 | char *ws_name = workspace_next_name(src_op->name); |
368 | swayc_t *ws = new_workspace(src_op, ws_name); | 368 | swayc_t *ws = new_workspace(src_op, ws_name); |
369 | ws->is_focused = true; | 369 | ws->is_focused = true; |
370 | free(ws_name); | 370 | free(ws_name); |