Wayland: Unset source coordinates to just use whole buffer.

This commit is contained in:
BearOso 2024-01-09 10:04:46 -06:00
parent 652adc81a4
commit 9b77335345
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ void WaylandSurface::resize(Metrics m)
viewport = wp_viewporter_get_viewport(viewporter, child);
wp_viewport_set_source(viewport,
wl_fixed_from_int(0), wl_fixed_from_int(0),
wl_fixed_from_int(w), wl_fixed_from_int(h));
wl_fixed_from_int(-1), wl_fixed_from_int(-1),
wl_fixed_from_int(-1), wl_fixed_from_int(-1));
wp_viewport_set_destination(viewport, m.width, m.height);
wl_surface_commit(child);