diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-08 20:14:08 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-08 20:14:08 +0000 |
commit | 62f6b6fadac719f11f229e07d55c7dbd57abb114 (patch) | |
tree | c86287a996062ef78a572678c3e0594e2446f710 /libvo/vo_x11.c | |
parent | 73719375cdabb11f3c38b29d7283e03df14286d2 (diff) | |
download | mpv-62f6b6fadac719f11f229e07d55c7dbd57abb114.tar.bz2 mpv-62f6b6fadac719f11f229e07d55c7dbd57abb114.tar.xz |
small changes in libvo's X11 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4994 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 200d059c51..cd21a30a45 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -584,6 +584,8 @@ static uint32_t control(uint32_t request, void *data, ...) case VOCTRL_GUISUPPORT: return VO_TRUE; case VOCTRL_FULLSCREEN: + vo_x11_fullscreen(); +/* if ((vo_fs_oldwidth == -1) && (vo_fs_oldheight == -1)) { int foo; @@ -605,7 +607,7 @@ static uint32_t control(uint32_t request, void *data, ...) mp_msg(MSGT_VO,MSGL_V,"X11 Fullscreen: saved old place: %dx%d-%dx%d\n", vo_fs_oldx, vo_fs_oldy, vo_fs_oldwidth, vo_fs_oldheight); - /* resize */ + // resize vo_dwidth = vo_screenwidth; vo_dheight = vo_screenheight; vo_x11_decoration( mDisplay,vo_window,0 ); @@ -621,16 +623,17 @@ static uint32_t control(uint32_t request, void *data, ...) #ifdef LOCAL_LOOKUP - /* restore */ + // restore vo_dwidth = vo_fs_oldwidth; vo_dheight = vo_fs_oldheight; #endif - /* clean */ + // clean vo_fs_oldwidth = -1; vo_fs_oldheight = -1; XSync(mDisplay, False); } +*/ return VO_TRUE; } return VO_NOTIMPL; |