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 38ee478e..bb1ded22 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c | |||
@@ -53,10 +53,10 @@ struct sway_workspace *workspace_create(struct sway_output *output, | |||
53 | return NULL; | 53 | return NULL; |
54 | } | 54 | } |
55 | node_init(&ws->node, N_WORKSPACE, ws); | 55 | node_init(&ws->node, N_WORKSPACE, ws); |
56 | ws->x = output->wlr_output->lx; | 56 | ws->x = output->lx; |
57 | ws->y = output->wlr_output->ly; | 57 | ws->y = output->ly; |
58 | ws->width = output->wlr_output->width; | 58 | ws->width = output->width; |
59 | ws->height = output->wlr_output->height; | 59 | ws->height = output->height; |
60 | ws->name = name ? strdup(name) : NULL; | 60 | ws->name = name ? strdup(name) : NULL; |
61 | ws->prev_split_layout = L_NONE; | 61 | ws->prev_split_layout = L_NONE; |
62 | ws->layout = output_get_default_layout(output); | 62 | ws->layout = output_get_default_layout(output); |