[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.80,1.81
Adam Tla/lka
atlka at mplayer.dev.hu
Thu Feb 28 12:43:28 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv11671/libvo
Modified Files:
vo_x11.c
Log Message:
Corrections to position saving/restore under vo=X11.
Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- vo_x11.c 23 Feb 2002 23:14:29 -0000 1.80
+++ vo_x11.c 28 Feb 2002 11:43:21 -0000 1.81
@@ -589,7 +589,6 @@
int foo;
Window root;
- vo_x11_decoration( mDisplay,vo_window,0 );
#ifdef LOCAL_LOOKUP
XGetGeometry(mDisplay, vo_window, &root, &foo, &foo,
&vo_fs_oldwidth, &vo_fs_oldheight, &foo, &foo);
@@ -609,15 +608,17 @@
/* resize */
vo_dwidth = vo_screenwidth;
vo_dheight = vo_screenheight;
+ vo_x11_decoration( mDisplay,vo_window,0 );
XMoveResizeWindow(mDisplay, vo_window, 0, 0,
vo_screenwidth, vo_screenheight);
XSync(mDisplay, False);
}
else
{
+ vo_x11_decoration( mDisplay,vo_window,1 );
XMoveResizeWindow(mDisplay, vo_window, vo_fs_oldx, vo_fs_oldy,
vo_fs_oldwidth, vo_fs_oldheight);
- vo_x11_decoration( mDisplay,vo_window,1 );
+
#ifdef LOCAL_LOOKUP
/* restore */
More information about the MPlayer-cvslog
mailing list