mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Make main properties be the pending state
This commit is contained in:
parent
59c9488701
commit
f9e6d703d2
9 changed files with 143 additions and 157 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue