summaryrefslogtreecommitdiffstats
path: root/libvo/w32_common.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-09-04 19:49:35 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-09-04 19:49:35 +0300
commit0e1b7765be878491565cf5e471f22b15e106164c (patch)
tree422e500c289335182a2a64934dcabf10b95e32dc /libvo/w32_common.c
parenta9618c1c6fe9424dfaeb1677348e0382d7252554 (diff)
parentdcfd043ea8d0c46929aad78596314d837c290d39 (diff)
downloadmpv-0e1b7765be878491565cf5e471f22b15e106164c.tar.bz2
mpv-0e1b7765be878491565cf5e471f22b15e106164c.tar.xz
Merge svn changes up to r29644
Diffstat (limited to 'libvo/w32_common.c')
-rw-r--r--libvo/w32_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index b78f8f1fc4..99ebd76979 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -109,7 +109,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
vo_dheight = r.bottom;
break;
case WM_WINDOWPOSCHANGING:
- if (vo_keepaspect && !vo_fs) {
+ if (vo_keepaspect && !vo_fs && WinID < 0) {
WINDOWPOS *wpos = lParam;
int xborder, yborder;
r.left = r.top = 0;