container: Remove useless surface dimensions

The adjustments to resize logic left them unnecessary.
This commit is contained in:
Kenny Levinsen 2020-06-03 14:39:12 +02:00 committed by Simon Ser
parent 7670f1a521
commit 5a4a7bc0da
6 changed files with 8 additions and 15 deletions

View file

@ -171,8 +171,8 @@ void output_view_for_each_surface(struct sway_output *output,
- view->geometry.x,
.oy = view->container->surface_y - output->ly
- view->geometry.y,
.width = view->container->surface_width,
.height = view->container->surface_height,
.width = view->container->current.content_width,
.height = view->container->current.content_height,
.rotation = 0, // TODO
};
@ -191,8 +191,8 @@ void output_view_for_each_popup(struct sway_output *output,
- view->geometry.x,
.oy = view->container->surface_y - output->ly
- view->geometry.y,
.width = view->container->surface_width,
.height = view->container->surface_height,
.width = view->container->current.content_width,
.height = view->container->current.content_height,
.rotation = 0, // TODO
};