[MPlayer-cvslog] r35740 - trunk/gui/wm/ws.c

ib subversion at mplayerhq.hu
Mon Jan 14 16:22:17 CET 2013


Author: ib
Date: Mon Jan 14 16:22:16 2013
New Revision: 35740

Log:
Replace the call to vo_x11_sizehint().

Local wsSizeHint() does basically the same.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Mon Jan 14 16:20:35 2013	(r35739)
+++ trunk/gui/wm/ws.c	Mon Jan 14 16:22:16 2013	(r35740)
@@ -1076,7 +1076,7 @@ void wsFullScreen(wsTWindow *win)
     /* restore window if window manager doesn't support EWMH */
     if (!(vo_fs_type & vo_wm_FULLSCREEN)) {
         wsWindowDecoration(win, win->Decorations && !win->isFullScreen);
-        vo_x11_sizehint(win->X, win->Y, win->Width, win->Height, 0);
+        wsSizeHint(win, PPosition | PSize /* | PBaseSize */ | PWinGravity | (vo_keepaspect ? PAspect : 0));
         wsSetLayer(wsDisplay, win->WindowID, win->isFullScreen);
         XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height);
     }


More information about the MPlayer-cvslog mailing list