summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-20 21:49:45 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-20 21:49:45 +0000
commit8c94b3ddd0ddb5e91f8c2ee0996489fb14abbf70 (patch)
tree817f92f7f1f8d5056a83b706eead9f3b4bd9beb2 /libvo/vo_xmga.c
parentb5fc7e65418481e307c81e3a833a006975c4dede (diff)
downloadmpv-8c94b3ddd0ddb5e91f8c2ee0996489fb14abbf70.tar.bz2
mpv-8c94b3ddd0ddb5e91f8c2ee0996489fb14abbf70.tar.xz
didn't handle flags parameter correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@845 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index a069b34dff..6a60cf29f5 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -245,7 +245,7 @@ static uint32_t init( uint32_t width, uint32_t height, uint32_t d_width, uint32_
#ifdef HAVE_GUI
mdwidth=d_width; mdheight=d_height;
#endif
- mFullscreen=fullscreen;
+ mFullscreen=fullscreen&1;
switch ( vo_depthonscreen )
{
@@ -260,7 +260,7 @@ static uint32_t init( uint32_t width, uint32_t height, uint32_t d_width, uint32_
if ( vo_window == None )
{
#endif
- if ( fullscreen )
+ if ( mFullscreen )
{
wndWidth=vo_screenwidth;
wndHeight=vo_screenheight;
@@ -285,7 +285,7 @@ static uint32_t init( uint32_t width, uint32_t height, uint32_t d_width, uint32_
vinfo.visual,xswamask,&xWAttribs );
vo_hidecursor(mDisplay,mWindow);
- if ( fullscreen ) vo_x11_decoration( mDisplay,mWindow,0 );
+ if ( mFullscreen ) vo_x11_decoration( mDisplay,mWindow,0 );
XGetNormalHints( mDisplay,mWindow,&hint );
hint.x=wndX; hint.y=wndY;