Remove parent from PlatformSpecific window settings
This commit is contained in:
parent
4e7cbbf98a
commit
b21e4567dc
3 changed files with 1 additions and 13 deletions
|
|
@ -73,11 +73,7 @@ pub fn window_attributes(
|
|||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
use winit::platform::windows::WindowAttributesExtWindows;
|
||||
#[allow(unsafe_code)]
|
||||
unsafe {
|
||||
attributes = attributes
|
||||
.with_parent_window(settings.platform_specific.parent);
|
||||
}
|
||||
|
||||
attributes = attributes
|
||||
.with_drag_and_drop(settings.platform_specific.drag_and_drop);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue