mirror of
https://github.com/swaywm/sway.git
synced 2024-11-08 01:13:13 +00:00
view_update_size: fix surface_width/height mismatch
This commit is contained in:
parent
ee40501570
commit
9e5664e997
|
@ -709,7 +709,7 @@ void view_update_size(struct sway_view *view, int width, int height) {
|
||||||
con->surface_y = fmax(con->surface_y, con->content_y);
|
con->surface_y = fmax(con->surface_y, con->content_y);
|
||||||
}
|
}
|
||||||
con->surface_width = width;
|
con->surface_width = width;
|
||||||
con->surface_width = height;
|
con->surface_height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct sway_view_child_impl subsurface_impl;
|
static const struct sway_view_child_impl subsurface_impl;
|
||||||
|
|
Loading…
Reference in a new issue