mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
wayland: sync drawn border size on window creation
This commit is contained in:
parent
3373e45e13
commit
ce6d2496d3
|
@ -87,6 +87,8 @@ impl Window {
|
|||
} else if attributes.decorations {
|
||||
decorated.set_decorate(true);
|
||||
}
|
||||
// Finally, set the decorations size
|
||||
decorated.resize(width as i32, height as i32);
|
||||
}
|
||||
|
||||
// init general handler
|
||||
|
|
Loading…
Reference in a new issue