diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-06 19:19:30 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-09 10:08:43 +1000 |
commit | f9e6d703d298dbdee0770fd9e0c64ab2d7ac7deb (patch) | |
tree | 8c8ffd879e368aff3d749a637aabfa784800db5c /sway/tree/workspace.c | |
parent | WIP: Atomic layout updates ground work (diff) | |
download | sway-f9e6d703d298dbdee0770fd9e0c64ab2d7ac7deb.tar.gz sway-f9e6d703d298dbdee0770fd9e0c64ab2d7ac7deb.tar.zst sway-f9e6d703d298dbdee0770fd9e0c64ab2d7ac7deb.zip |
Make main properties be the pending state
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r-- | sway/tree/workspace.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index ad581a96..9ba210fd 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c | |||
@@ -60,12 +60,6 @@ struct sway_container *workspace_create(struct sway_container *output, | |||
60 | workspace->prev_layout = L_NONE; | 60 | workspace->prev_layout = L_NONE; |
61 | workspace->layout = container_get_default_layout(output); | 61 | workspace->layout = container_get_default_layout(output); |
62 | 62 | ||
63 | workspace->pending.swayc_x = workspace->x; | ||
64 | workspace->pending.swayc_y = workspace->y; | ||
65 | workspace->pending.swayc_width = workspace->width; | ||
66 | workspace->pending.swayc_height = workspace->height; | ||
67 | workspace->pending.layout = workspace->layout; | ||
68 | |||
69 | struct sway_workspace *swayws = calloc(1, sizeof(struct sway_workspace)); | 63 | struct sway_workspace *swayws = calloc(1, sizeof(struct sway_workspace)); |
70 | if (!swayws) { | 64 | if (!swayws) { |
71 | return NULL; | 65 | return NULL; |