Index: myglut-x11.c
===================================================================
--- myglut-x11.c	(revision 180)
+++ myglut-x11.c	(revision 181)
@@ -111,6 +111,8 @@
 glutMouseFuncCB=NULL;
 glutDisplayFuncCB=NULL;
 glutIdleFuncCB=NULL;
+
+_glutMouseVisible=1;
 }
 
 
@@ -139,6 +141,7 @@
 	currCursor = XC_left_ptr;
 	XDefineCursor( currDisplay, currHandle,
                  XCreateFontCursor ( currDisplay, currCursor ) ) ;
+	_glutMouseVisible=1;
 	break;
     case GLUT_CURSOR_NONE:	
     default:
@@ -151,7 +154,7 @@
                         XCreatePixmapCursor ( currDisplay,
                             pix, pix, &bcol, &bcol, 0, 0 ) ) ;
         XFreePixmap   ( currDisplay, pix ) ;
-        currCursor = 0 ;
+	_glutMouseVisible=1;
     }
 }
 
strcpy(to_name,d+start);
-	if(cpt==1)
-	    strcpy(to_author,d+start);
-	if(cpt==2)
-	    strcpy(to_gold,d+start);	
-	if(cpt==3)
-	    strcpy(to_author_time,d+start);	
-
-	// finalize
-	cpt++;
-	start=i+1;
-	}
-    }
-}
-
 void data_init(void)
 {
 sprintf(tdata,"no name;unknown;0;0");
 }
 
-void dump_data_to(char *filename)
-{
-FILE *fp;
-char d[4][512];
-
-fp=fopen(filename,"wt");
-if(!fp) { printf("cannot write to file \"%s\", fopen() failed\n",filename); return; }
-
-fprintf(fp,"// generated track data (mania2)\n\n");
-
-extract_data(tdata,d[0],d[1],d[2],d[3]);
-fprintf(fp,"name=\"%s\";\n",d[0]);
-fprintf(fp,"author=\"%s\";\n",d[1]);
-fprintf(fp,"gold_time=%s;\n",d[2]);
-fprintf(fp,"author_time=%s;\n",d[3]);
-
-fprintf(fp,"\n// EOF\n");
-fclose(fp);
-printf("data file generated.\n");
-}
-
 void draw_axes(void)
 {
 GLfloat size=modl_zoom/3;
@@ -944,10 +893,6 @@
 
 void export_all(void)
 {
-#define FACT 6
-#define MOVE_X -5
-#define MOVE_Y -3
-#define MOVE_Z -1
 int i;
 int obj;
 char sav[RAYDIUM_MAX_NAME_LEN];