Changeset 4866 in vbox
- Timestamp:
- Sep 17, 2007 6:38:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r4700 r4866 31 31 32 32 #if defined (VBOXSDL_WITH_X11) 33 #include <X11/Xlib.h> 34 #include <X11/cursorfont.h> /* for XC_left_ptr */ 35 #include <X11/Xcursor/Xcursor.h> 33 # include <X11/Xlib.h> 34 # include <X11/cursorfont.h> /* for XC_left_ptr */ 35 # if !defined (VBOX_WITHOUT_XCURSOR) 36 # include <X11/Xcursor/Xcursor.h> 37 # endif 36 38 #endif 37 39 … … 1831 1833 } 1832 1834 1835 # if !defined(VBOX_WITHOUT_XCURSOR) 1833 1836 /* SDL uses its own (plain) default cursor. Use the left arrow cursor instead which might look 1834 1837 * much better if a mouse cursor theme is installed. */ … … 1836 1839 *(Cursor*)gpDefaultCursor->wm_cursor = XCreateFontCursor(gSdlInfo.info.x11.display, XC_left_ptr); 1837 1840 SDL_SetCursor(gpDefaultCursor); 1841 # endif 1838 1842 #endif /* VBOXSDL_WITH_X11 */ 1839 1843 … … 2500 2504 #endif /* VBOXSDL_WITH_X11 */ 2501 2505 SDL_SetCursor(gpDefaultCursor); 2502 #if def VBOXSDL_WITH_X112506 #if defined(VBOXSDL_WITH_X11) && !defined(VBOX_WITHOUT_XCURSOR) 2503 2507 XFreeCursor(gSdlInfo.info.x11.display, pDefaultTempX11Cursor); 2504 2508 #endif /* VBOXSDL_WITH_X11 */ … … 2514 2518 #if defined (RT_OS_WINDOWS) 2515 2519 ::DestroyCursor(*(HCURSOR *) pCustomTempWMCursor); 2516 #elif defined (VBOXSDL_WITH_X11) 2520 #elif defined (VBOXSDL_WITH_X11) && !defined (VBOX_WITHOUT_XCURSOR) 2517 2521 XFreeCursor(gSdlInfo.info.x11.display, *(Cursor *) pCustomTempWMCursor); 2518 2522 #endif … … 4007 4011 ::DeleteObject (hBitmap); 4008 4012 4009 #elif defined (VBOXSDL_WITH_X11) 4013 #elif defined (VBOXSDL_WITH_X11) && !defined (VBOX_WITHOUT_XCURSOR) 4010 4014 4011 4015 XcursorImage *img = XcursorImageCreate (data->width, data->height);
Note:
See TracChangeset
for help on using the changeset viewer.