mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
Merge pull request #30 from vberger/master
wayland: sync drawn border size on window creation
This commit is contained in:
commit
8a1f4d6669
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user