mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Revert "Break everything^W^WUse wlr_box for sway_container"
This commit is contained in:
parent
656ef558a2
commit
640232eb22
13 changed files with 145 additions and 144 deletions
|
|
@ -50,10 +50,10 @@ struct sway_container *workspace_create(struct sway_container *output,
|
|||
wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name);
|
||||
struct sway_container *workspace = container_create(C_WORKSPACE);
|
||||
|
||||
workspace->box.x = output->box.x;
|
||||
workspace->box.y = output->box.y;
|
||||
workspace->box.width = output->box.width;
|
||||
workspace->box.height = output->box.height;
|
||||
workspace->x = output->x;
|
||||
workspace->y = output->y;
|
||||
workspace->width = output->width;
|
||||
workspace->height = output->height;
|
||||
workspace->name = !name ? NULL : strdup(name);
|
||||
workspace->prev_layout = L_NONE;
|
||||
workspace->layout = container_get_default_layout(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue