# HG changeset patch # User pontscho # Date 1008084861 0 # Node ID 735ffdce1b039462d2a3f0bfedf0f9a78728d8d6 # Parent ca39dc9f879ba8f2bba09e7386cd6a60c5888643 mf bug fixed. diff -r ca39dc9f879b -r 735ffdce1b03 libvo/vo_x11.c --- a/libvo/vo_x11.c Tue Dec 11 14:56:21 2001 +0000 +++ b/libvo/vo_x11.c Tue Dec 11 15:34:21 2001 +0000 @@ -70,7 +70,6 @@ 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 @@ else #endif { - if ( X_already_started ) return -1; if( !vo_init() ) return 0; // Can't open X11 hint.x=0; @@ -426,7 +424,6 @@ XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask ); saver_off(mDisplay); } - X_already_started++; return 0; } @@ -446,7 +443,6 @@ #endif XDestroyWindow( mDisplay,mywindow ); XCloseDisplay( mDisplay ); - X_already_started=0; } static void Display_Image( XImage *myximage,uint8_t *ImageData )