mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
Merge pull request #30 from vberger/master
wayland: sync drawn border size on window creation
This commit is contained in:
@@ -87,6 +87,8 @@ impl Window {
|
|||||||
} else if attributes.decorations {
|
} else if attributes.decorations {
|
||||||
decorated.set_decorate(true);
|
decorated.set_decorate(true);
|
||||||
}
|
}
|
||||||
|
// Finally, set the decorations size
|
||||||
|
decorated.resize(width as i32, height as i32);
|
||||||
}
|
}
|
||||||
|
|
||||||
// init general handler
|
// init general handler
|
||||||
|
|||||||
Reference in New Issue
Block a user