comparison src/video/x11/SDL_x11dyn.h @ 1589:34cca785be57

Xrandr support in the X11 target. Fixes Bugzilla #109, and as a bonus, Bugzilla #145, too!
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 22 Mar 2006 11:13:58 +0000
parents 3ba88cb7eb1b
children ecba4bbaf9c2
comparison
equal deleted inserted replaced
1588:e20dcef5647c 1589:34cca785be57
34 34
35 #ifndef NO_SHARED_MEMORY 35 #ifndef NO_SHARED_MEMORY
36 #include <sys/ipc.h> 36 #include <sys/ipc.h>
37 #include <sys/shm.h> 37 #include <sys/shm.h>
38 #include <X11/extensions/XShm.h> 38 #include <X11/extensions/XShm.h>
39 #endif
40
41 #if SDL_VIDEO_DRIVER_X11_XRANDR
42 #include <X11/extensions/Xrandr.h>
39 #endif 43 #endif
40 44
41 /* 45 /*
42 * When using the "dynamic X11" functionality, we duplicate all the Xlib 46 * When using the "dynamic X11" functionality, we duplicate all the Xlib
43 * symbols that would be referenced by SDL inside of SDL itself. 47 * symbols that would be referenced by SDL inside of SDL itself.