hi, this patch by Vilhelm Sjöberg ([EMAIL PROTECTED]) seems to do the job.
--- freeglut-2.4.0/src/freeglut_cursor.c 2005-04-22 17:23:12.000000000 +0200 +++ freeglut-2.4.0-patched/src/freeglut_cursor.c 2005-09-15 02:32:55.000000000 +0200 @@ -130,7 +130,9 @@ XCreateFontCursor( fgDisplay.Display, entry->cursorShape ); } cursor = entry->cachedCursor; - } else { + if (cursor == None) + fgError( "Failed to create cursor" ); + } else { switch( cursorIDToUse ) { case GLUT_CURSOR_NONE: @@ -147,9 +149,6 @@ } } - if ( ( cursorIDToUse != GLUT_CURSOR_NONE ) && ( cursor == None ) ) { - fgError( "Failed to create cursor" ); - } XDefineCursor( fgDisplay.Display, window->Window.Handle, cursor ); }