core: fix wayland window size conflict

This commit is contained in:
Joshua Holmes 2024-10-10 19:27:54 -07:00 committed by Stephen Gutekanst
parent fcba68282d
commit 9763ce2857

View file

@ -130,8 +130,8 @@ pub fn init(
region,
0,
0,
@intCast(options.size.width),
@intCast(options.size.height),
@intCast(wl.size.width),
@intCast(wl.size.height),
);
c.wl_surface_set_opaque_region(wl.surface, region);
c.wl_region_destroy(region);