Fix fullscreen window shrinking upon getting restored to a normal window (#1172)

This commit is contained in:
Osspial 2019-09-19 11:48:20 -04:00 committed by GitHub
parent eb20612d77
commit 2ef39651eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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(