diff gui/wm/ws.c @ 35657:eadf0731a29a

Add property wsAspect. Windows with this property shall regard option 'keepaspect'. Tag video window with wsAspect.
author ib
date Tue, 15 Jan 2013 12:44:03 +0000
parents f2093dc82b5f
children 321934456307
line wrap: on
line diff
--- a/gui/wm/ws.c	Tue Jan 15 12:37:42 2013 +0000
+++ b/gui/wm/ws.c	Tue Jan 15 12:44:03 2013 +0000
@@ -471,7 +471,7 @@
         win->SizeHint.max_height = win->Height;
     }
 
-    if (vo_keepaspect /*&& (win->Property & wsAspect)*/) {
+    if (vo_keepaspect && (win->Property & wsAspect)) {
         win->SizeHint.flags |= PAspect;
         win->SizeHint.min_aspect.x = win->Width;
         win->SizeHint.min_aspect.y = win->Height;