Make main properties be the pending state

This commit is contained in:
Ryan Dwyer 2018-06-06 19:19:30 +10:00
parent 59c9488701
commit f9e6d703d2
9 changed files with 143 additions and 157 deletions

View file

@ -60,12 +60,6 @@ struct sway_container *workspace_create(struct sway_container *output,
workspace->prev_layout = L_NONE;
workspace->layout = container_get_default_layout(output);
workspace->pending.swayc_x = workspace->x;
workspace->pending.swayc_y = workspace->y;
workspace->pending.swayc_width = workspace->width;
workspace->pending.swayc_height = workspace->height;
workspace->pending.layout = workspace->layout;
struct sway_workspace *swayws = calloc(1, sizeof(struct sway_workspace));
if (!swayws) {
return NULL;