mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Add WindowBuilder::with_cursor() (#3319)
This commit is contained in:
@@ -1225,6 +1225,8 @@ impl<'a, T: 'static> InitData<'a, T> {
|
||||
win.set_content_protected(true);
|
||||
}
|
||||
|
||||
win.set_cursor(attributes.cursor);
|
||||
|
||||
// Set visible before setting the size to ensure the
|
||||
// attribute is correctly applied.
|
||||
win.set_visible(attributes.visible);
|
||||
|
||||
Reference in New Issue
Block a user