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

@ -737,8 +737,6 @@ void view_update_size(struct sway_view *view, int width, int height) {
con->surface_x = fmax(con->surface_x, con->content_x);
con->surface_y = fmax(con->surface_y, con->content_y);
}
con->surface_width = width;
con->surface_height = height;
}
static const struct sway_view_child_impl subsurface_impl;