[MPlayer-cvslog] CVS: main/libvo vo_xv.c,1.160,1.161

Alexander Strasser beastd syncmail at mplayerhq.hu
Thu Feb 24 18:46:22 CET 2005


CVS change done by Alexander Strasser (beastd)

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv12494/libvo

Modified Files:
	vo_xv.c 
Log Message:
Always use vo_x11_sizehint function ( even when going fullscreen ) to
reflect at least the window aspect behaviour.


Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -r1.160 -r1.161
--- vo_xv.c	23 Feb 2005 12:23:44 -0000	1.160
+++ vo_xv.c	24 Feb 2005 17:46:19 -0000	1.161
@@ -329,7 +329,7 @@
                                                               ExposureMask)));
             XSetStandardProperties(mDisplay, vo_window, hello, hello, None,
                                    NULL, 0, &hint);
-            XSetWMNormalHints(mDisplay, vo_window, &hint);
+            vo_x11_sizehint(hint.x, hint.y, hint.width, hint.height, 0);
             XMapWindow(mDisplay, vo_window);
             if (flags & 1)
                 vo_x11_fullscreen();
@@ -338,8 +338,6 @@
 #ifdef HAVE_XINERAMA
                 vo_x11_xinerama_move(mDisplay, vo_window);
 #endif
-                vo_x11_sizehint(hint.x, hint.y, hint.width, hint.height,
-                                0);
             }
         } else
         {




More information about the MPlayer-cvslog mailing list