diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-06 16:56:41 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-06 16:56:41 +0000 |
commit | a1f7ba2ba74d69bbb2b783fdb4e2fc31fb39f5e7 (patch) | |
tree | e0e46b55069e0a244d6c203c790a6e387443a9ef /libvo/vo_xmga.c | |
parent | 48da357ce5714f1375a6ef5358c4380c8c3232b8 (diff) | |
download | mpv-a1f7ba2ba74d69bbb2b783fdb4e2fc31fb39f5e7.tar.bz2 mpv-a1f7ba2ba74d69bbb2b783fdb4e2fc31fb39f5e7.tar.xz |
fix -fs and 'f'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6000 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r-- | libvo/vo_xmga.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index 9b3280549d..6690e20705 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -232,11 +232,11 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 mvWidth=width; mvHeight=height; wndX=0; wndY=0; - vo_fs=fullscreen&1; vo_dwidth=d_width; vo_dheight=d_height; - if ( vo_fs ) - { vo_old_width=d_width; vo_old_height=d_height; } vo_mouse_autohide=1; +// vo_fs=fullscreen&1; +// if ( vo_fs ) +// { vo_old_width=d_width; vo_old_height=d_height; } switch ( vo_depthonscreen ) { @@ -259,8 +259,8 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 { if ( vo_fs ) { - vo_dwidth=vo_screenwidth; - vo_dheight=vo_screenheight; +// vo_dwidth=vo_screenwidth; +// vo_dheight=vo_screenheight; #ifdef X11_FULLSCREEN aspect(&dwidth,&dheight,A_ZOOM); #endif @@ -292,10 +292,12 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 vo_x11_classhint( mDisplay,vo_window,"xmga" ); vo_hidecursor(mDisplay,vo_window); - if ( vo_fs ) vo_x11_decoration( mDisplay,vo_window,0 ); +// if ( vo_fs ) vo_x11_decoration( mDisplay,vo_window,0 ); XStoreName( mDisplay,vo_window,mTitle ); XMapWindow( mDisplay,vo_window ); + + if ( fullscreen&1 ) vo_x11_fullscreen(); #ifdef HAVE_XINERAMA vo_x11_xinerama_move(mDisplay,vo_window); |