Fix fullscreen window shrinking upon getting restored to a normal window (#1172)
This commit is contained in:
parent
eb20612d77
commit
2ef39651eb
2 changed files with 2 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue