Add WindowBuilder::with_cursor() (#3319)

This commit is contained in:
daxpedda 2023-12-26 19:50:58 +01:00 committed by GitHub
parent f5c691467b
commit ba654bb61e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 1 deletions

View file

@ -518,6 +518,8 @@ impl WinitWindow {
}
}
this.set_cursor(attrs.cursor);
let delegate = WinitWindowDelegate::new(&this, attrs.fullscreen.0.is_some());
// XXX Send `Focused(false)` right after creating the window delegate, so we won't