mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 10:26:34 +11:00
Merge pull request #30 from vberger/master
wayland: sync drawn border size on window creation
This commit is contained in:
commit
8a1f4d6669
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue