mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
Fix rendering issues, wire up some xdg listeners
This commit is contained in:
parent
ce1936bc65
commit
a57d462926
4 changed files with 29 additions and 7 deletions
|
|
@ -129,11 +129,10 @@ void arrange_windows(swayc_t *container, double width, double height) {
|
|||
case C_WORKSPACE:
|
||||
{
|
||||
swayc_t *output = swayc_parent_by_type(container, C_OUTPUT);
|
||||
width = output->width, height = output->height;
|
||||
container->width = output->width;
|
||||
container->height = output->height;
|
||||
container->x = x;
|
||||
container->y = y;
|
||||
width = container->width;
|
||||
height = container->height;
|
||||
sway_log(L_DEBUG, "Arranging workspace '%s' at %f, %f",
|
||||
container->name, container->x, container->y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue