Skip to content

Commit

Permalink
Update frame when entering fullscreen
Browse files Browse the repository at this point in the history
Refs #3987
  • Loading branch information
alexmarsev committed Mar 3, 2014
1 parent 5b7c433 commit 3c95ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpc-hc/MainFrm.cpp
Expand Up @@ -9411,7 +9411,7 @@ void CMainFrame::ToggleFullscreen(bool fToNearest, bool fSwitchScreenResWhenHasT
}
m_fFirstFSAfterLaunchOnFS = false;
} else {
SetWindowPos(nullptr, r.left, r.top, r.Width(), r.Height(), SWP_NOZORDER | SWP_NOSENDCHANGING);
SetWindowPos(nullptr, r.left, r.top, r.Width(), r.Height(), SWP_NOZORDER | SWP_NOSENDCHANGING | SWP_FRAMECHANGED);
}

// If MPC-HC wasn't previously set "on top" by an external tool,
Expand Down

0 comments on commit 3c95ed9

Please sign in to comment.