View | Details | Raw Unified
Collapse All | Expand All

(-) src/freeglut_cursor.c.old (-3 / +5 lines)
 Lines 147-157    Link Here 
            }
            }
        }
        }
        if ( ( cursorIDToUse != GLUT_CURSOR_NONE ) && ( cursor == None ) ) {
	if ( cursorIDToUse == GLUT_CURSOR_INHERIT ) {
            XUndefineCursor( fgDisplay.Display, window->Window.Handle );
	} else if ( cursor != None ) {
            XDefineCursor( fgDisplay.Display, window->Window.Handle, cursor );
	} else if ( cursorIDToUse != GLUT_CURSOR_NONE ) {
            fgError( "Failed to create cursor" );
            fgError( "Failed to create cursor" );
        }
        }
        XDefineCursor( fgDisplay.Display,
                       window->Window.Handle, cursor );
    }
    }
#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE
#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE