mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Fix fullscreen window shrinking upon getting restored to a normal window (#1172)
This commit is contained in:
@@ -599,6 +599,7 @@ impl Window {
|
||||
{
|
||||
window_state_lock.dpi_factor = dpi_factor;
|
||||
drop(window_state_lock);
|
||||
let client_rect = util::adjust_window_rect(window.0, client_rect).unwrap();
|
||||
|
||||
unsafe {
|
||||
winuser::SetWindowPos(
|
||||
|
||||
Reference in New Issue
Block a user