diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-06 15:03:05 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-06 15:38:37 -0400 |
commit | 764489e73760534d49760af123cae46109564e86 (patch) | |
tree | 243104969dc80855d313faf5a0d360dd5508dc52 /sway/tree/workspace.c | |
parent | Merge pull request #1755 from emersion/view-child-hidpi (diff) | |
download | sway-764489e73760534d49760af123cae46109564e86.tar.gz sway-764489e73760534d49760af123cae46109564e86.tar.zst sway-764489e73760534d49760af123cae46109564e86.zip |
Break everything^W^WUse wlr_box for sway_container
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 316f01e4..9e1a8a37 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->x = output->x; | 53 | workspace->box.x = output->box.x; |
54 | workspace->y = output->y; | 54 | workspace->box.y = output->box.y; |
55 | workspace->width = output->width; | 55 | workspace->box.width = output->box.width; |
56 | workspace->height = output->height; | 56 | workspace->box.height = output->box.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); |