mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
Store swayc coordinates as layout-local
This commit is contained in:
parent
00f6e179cd
commit
e4e912ea91
10 changed files with 71 additions and 130 deletions
|
|
@ -73,8 +73,8 @@ void arrange_workspace(struct sway_container *workspace) {
|
|||
area->width, area->height, area->x, area->y);
|
||||
workspace->width = area->width;
|
||||
workspace->height = area->height;
|
||||
workspace->x = area->x;
|
||||
workspace->y = area->y;
|
||||
workspace->x = output->x + area->x;
|
||||
workspace->y = output->y + area->y;
|
||||
wlr_log(L_DEBUG, "Arranging workspace '%s' at %f, %f",
|
||||
workspace->name, workspace->x, workspace->y);
|
||||
arrange_children_of(workspace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue