changeset 14797:05eab20de476

Always use vo_x11_sizehint function ( even when going fullscreen ) to reflect at least the window aspect behaviour.
author al
date Thu, 24 Feb 2005 17:46:19 +0000
parents e98f3d37bc1c
children 0bd50330e688
files libvo/vo_xv.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Thu Feb 24 17:08:54 2005 +0000
+++ b/libvo/vo_xv.c	Thu Feb 24 17:46:19 2005 +0000
@@ -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
         {