Fix rendering issues, wire up some xdg listeners

This commit is contained in:
Drew DeVault 2017-11-25 15:49:10 -05:00
parent ce1936bc65
commit a57d462926
4 changed files with 29 additions and 7 deletions

View file

@ -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);
}