summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-11 15:34:21 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-11 15:34:21 +0000
commit4c5c9c03ec03b44373da99f8b15912b464149217 (patch)
treef82a02d6f23d44b2cc94613a4e345236fb15fdf4 /libvo/vo_x11.c
parent10d760aa429ccbbdaef1a9bc2ebdde2f5457f4f4 (diff)
downloadmpv-4c5c9c03ec03b44373da99f8b15912b464149217.tar.bz2
mpv-4c5c9c03ec03b44373da99f8b15912b464149217.tar.xz
mf bug fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3459 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 8dd0fe9b11..dfbc942a2c 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -70,7 +70,6 @@ static GC mygc;
static XImage *myximage;
static int depth,bpp,mode;
static XWindowAttributes attribs;
-static int X_already_started=0;
//static int vo_dwidth,vo_dheight;
@@ -190,7 +189,6 @@ static uint32_t init( uint32_t width,uint32_t height,uint32_t d_width,uint32_t d
else
#endif
{
- if ( X_already_started ) return -1;
if( !vo_init() ) return 0; // Can't open X11
hint.x=0;
@@ -426,7 +424,6 @@ static uint32_t init( uint32_t width,uint32_t height,uint32_t d_width,uint32_t d
XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask );
saver_off(mDisplay);
}
- X_already_started++;
return 0;
}
@@ -446,7 +443,6 @@ static void Terminate_Display_Process( void )
#endif
XDestroyWindow( mDisplay,mywindow );
XCloseDisplay( mDisplay );
- X_already_started=0;
}
static void Display_Image( XImage *myximage,uint8_t *ImageData )