Calculate border size in aspect keeping code by using AdjustWindowRect
commit74efde9480a1b862c415dc5a9f4779a209253801
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 23 Feb 2009 21:40:02 +0000 (23 21:40 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 23 Feb 2009 21:40:02 +0000 (23 21:40 +0000)
treec7c728a5505430c5c42522660e46b8aaa5777663
parent30aa2383cadb2f879e02dca9df293c01119a3111
Calculate border size in aspect keeping code by using AdjustWindowRect
instead of GetClientRect and GetWindowRect since GetClientRect returns
nonsensical values if Window is still minimized.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28713 b3059339-0415-0410-9bf9-f77b7e298cf2
libvo/w32_common.c