[MPlayer-dev-eng] [PATCH] Fix wrong aspect after window minimization (direct3d, gl, gl2)
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Feb 22 20:33:55 CET 2009
On Sun, Feb 22, 2009 at 08:58:17PM +0200, Georgi Petrov wrote:
> This happens for sure under Windows Vista with Aero on. I'm not sure
> for other cases. The problem is that in w32_common we check the event
> WM_WINDOWPOSCHANGING. On window minimize and restore GetClientRect
> returns all zeros. After it GetWindowRect returns random data.
I'd like to know what kind of values those are precisely, the fix you
propose assumes that GetClientRect will always return 0s when
GetWindowRect "fails", but without knowing how/why GetWindowRect does
not behave as expected that should not be just assumed.
The values of WINDOWPOS might be interesting, too.
More information about the MPlayer-dev-eng
mailing list