mirror of
https://github.com/swaywm/sway.git
synced 2026-03-02 01:40:50 -05:00
container: Remove useless surface dimensions
The adjustments to resize logic left them unnecessary.
This commit is contained in:
parent
7670f1a521
commit
5a4a7bc0da
6 changed files with 8 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue