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

@ -267,8 +267,6 @@ static void apply_container_state(struct sway_container *container,
} else {
container->surface_y = container->current.content_y;
}
container->surface_width = container->current.content_width;
container->surface_height = container->current.content_height;
}
if (!container->node.destroying) {