Mercurial > mplayer.hg
changeset 4889:c91a96b35522
Corrections to position saving/restore under vo=X11.
author | atlka |
---|---|
date | Thu, 28 Feb 2002 11:43:21 +0000 |
parents | cb2adf32c356 |
children | 0c1526391dd3 |
files | libvo/vo_x11.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_x11.c Thu Feb 28 08:26:20 2002 +0000 +++ b/libvo/vo_x11.c Thu Feb 28 11:43:21 2002 +0000 @@ -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 */