Mercurial > mplayer.hg
diff libvo/vo_xv.c @ 5999:792d58595767
fix -fs and 'f'
author | pontscho |
---|---|
date | Mon, 06 May 2002 16:56:41 +0000 |
parents | cb393303865d |
children | bb1f3552f118 |
line wrap: on
line diff
--- a/libvo/vo_xv.c Mon May 06 15:48:07 2002 +0000 +++ b/libvo/vo_xv.c Mon May 06 16:56:41 2002 +0000 @@ -338,9 +338,9 @@ vo_mouse_autohide=1; vo_dwidth=d_width; vo_dheight=d_height; - vo_fs=flags&1; - if ( vo_fs ) - { vo_old_width=d_width; vo_old_height=d_height; } +// vo_fs=flags&1; +// if ( vo_fs ) +// { vo_old_width=d_width; vo_old_height=d_height; } #ifdef HAVE_XF86VM if( flags&0x02 ) vm = 1; @@ -388,8 +388,8 @@ #endif if ( vo_fs ) { - hint.width=vo_screenwidth; - hint.height=vo_screenheight; +// hint.width=vo_screenwidth; +// hint.height=vo_screenheight; #ifdef X11_FULLSCREEN /* this code replaces X11_FULLSCREEN hack in mplayer.c * aspect() is available through aspect.h for all vos. @@ -437,8 +437,9 @@ ); XSetStandardProperties(mDisplay, vo_window, hello, hello, None, NULL, 0, &hint); XSetWMNormalHints( mDisplay,vo_window,&hint ); - if ( vo_fs ) vo_x11_decoration( mDisplay,vo_window,0 ); +// if ( vo_fs ) vo_x11_decoration( mDisplay,vo_window,0 ); XMapWindow(mDisplay, vo_window); + if ( flags&1 ) vo_x11_fullscreen(); #ifdef HAVE_XINERAMA vo_x11_xinerama_move(mDisplay,vo_window); #endif