core: fix wayland window size conflict
This commit is contained in:
parent
fcba68282d
commit
9763ce2857
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@ pub fn init(
|
||||||
region,
|
region,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@intCast(options.size.width),
|
@intCast(wl.size.width),
|
||||||
@intCast(options.size.height),
|
@intCast(wl.size.height),
|
||||||
);
|
);
|
||||||
c.wl_surface_set_opaque_region(wl.surface, region);
|
c.wl_surface_set_opaque_region(wl.surface, region);
|
||||||
c.wl_region_destroy(region);
|
c.wl_region_destroy(region);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue