diff options
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r-- | sway/tree/workspace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 9e1a8a37..316f01e4 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c | |||
@@ -50,10 +50,10 @@ struct sway_container *workspace_create(struct sway_container *output, | |||
50 | wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name); | 50 | wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name); |
51 | struct sway_container *workspace = container_create(C_WORKSPACE); | 51 | struct sway_container *workspace = container_create(C_WORKSPACE); |
52 | 52 | ||
53 | workspace->box.x = output->box.x; | 53 | workspace->x = output->x; |
54 | workspace->box.y = output->box.y; | 54 | workspace->y = output->y; |
55 | workspace->box.width = output->box.width; | 55 | workspace->width = output->width; |
56 | workspace->box.height = output->box.height; | 56 | workspace->height = output->height; |
57 | workspace->name = !name ? NULL : strdup(name); | 57 | workspace->name = !name ? NULL : strdup(name); |
58 | workspace->prev_layout = L_NONE; | 58 | workspace->prev_layout = L_NONE; |
59 | workspace->layout = container_get_default_layout(output); | 59 | workspace->layout = container_get_default_layout(output); |