comparison src/video/x11/SDL_x11video.h @ 4794:e562160a873f

Check configure-defined macro before doing _anything_ with XShape.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 13 Jul 2010 02:43:49 -0400
parents f7b03b6838cb
children 7b1d35d98294
comparison
equal deleted inserted replaced
4793:cb31d2fdbe61 4794:e562160a873f
43 #include <X11/extensions/XInput.h> 43 #include <X11/extensions/XInput.h>
44 #endif 44 #endif
45 #if SDL_VIDEO_DRIVER_X11_SCRNSAVER 45 #if SDL_VIDEO_DRIVER_X11_SCRNSAVER
46 #include <X11/extensions/scrnsaver.h> 46 #include <X11/extensions/scrnsaver.h>
47 #endif 47 #endif
48 #if SDL_VIDEO_DRIVER_X11_XSHAPE
49 #include <X11/extensions/shape.h>
50 #endif
48 51
49 #include "SDL_x11dyn.h" 52 #include "SDL_x11dyn.h"
50 53
51 #include "SDL_x11events.h" 54 #include "SDL_x11events.h"
52 #include "SDL_x11gamma.h" 55 #include "SDL_x11gamma.h"