mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Add WindowBuilder::with_outer_position (#1866)
This commit is contained in:
@@ -832,6 +832,10 @@ unsafe fn init<T: 'static>(
|
||||
force_window_active(win.window.0);
|
||||
}
|
||||
|
||||
if let Some(position) = attributes.position {
|
||||
win.set_outer_position(position);
|
||||
}
|
||||
|
||||
Ok(win)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user