Add WindowBuilder::with_cursor() (#3319)
This commit is contained in:
parent
f5c691467b
commit
ba654bb61e
7 changed files with 26 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue