comparison include/SDL_syswm.h @ 4510:6f8175ad0335

Implemented X11 system window manager info for SDL 1.3. It's simple. Really.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 12 Jul 2010 01:20:57 -0700
parents f7b03b6838cb
children 4069c65b01f2
comparison
equal deleted inserted replaced
4509:8e91c3947210 4510:6f8175ad0335
104 { 104 {
105 struct 105 struct
106 { 106 {
107 Display *display; /**< The X11 display */ 107 Display *display; /**< The X11 display */
108 Window window; /**< The X11 display window */ 108 Window window; /**< The X11 display window */
109 /**
110 * These locking functions should be called around
111 * any X11 functions using the display variable.
112 * They lock the event thread, so should not be
113 * called around event functions or from event filters.
114 */
115 /*@{*/
116 void (*lock_func) (void);
117 void (*unlock_func) (void);
118 /*@}*/
119
120 /**
121 * Introduced in SDL 1.0.2.
122 */
123 /*@{*/
124 Window fswindow; /**< The X11 fullscreen window */
125 Window wmwindow; /**< The X11 managed input window */
126 /*@}*/
127 } x11; 109 } x11;
128 } info; 110 } info;
129 }; 111 };
130 112
131 #elif defined(SDL_VIDEO_DRIVER_WIN32) 113 #elif defined(SDL_VIDEO_DRIVER_WIN32)