changeset 35646:0e0775a09c97

Replace the call to vo_x11_sizehint(). Local wsSizeHint() does basically the same.
author ib
date Mon, 14 Jan 2013 15:22:16 +0000
parents c0ec433fe432
children a30496350cb9
files gui/wm/ws.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Mon Jan 14 15:20:35 2013 +0000
+++ b/gui/wm/ws.c	Mon Jan 14 15:22:16 2013 +0000
@@ -1076,7 +1076,7 @@
     /* 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);
     }