mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
WIP: Atomic layout updates ground work
This commit is contained in:
parent
0b798ed954
commit
59c9488701
16 changed files with 771 additions and 347 deletions
|
|
@ -60,6 +60,12 @@ 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