Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140542 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 140542