Mercurial > sdl-ios-xcode
diff include/SDL_syswm.h @ 3872:be84332e761e SDL-1.2
Fixed bug #278
Added the GFX_Display to the wminfo structure, contributed by Eric
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 24 Sep 2006 00:08:28 +0000 |
parents | a9be6a3a51d1 |
children | a1b03ba2fcd0 |
line wrap: on
line diff
--- a/include/SDL_syswm.h Sun Sep 24 00:04:06 2006 +0000 +++ b/include/SDL_syswm.h Sun Sep 24 00:08:28 2006 +0000 @@ -86,7 +86,8 @@ Display *display; /* The X11 display */ Window window; /* The X11 display window */ /* These locking functions should be called around - any X11 functions using the display variable. + any X11 functions using the display variable, + but not the gfxdisplay variable. They lock the event thread, so should not be called around event functions or from event filters. */ @@ -96,6 +97,9 @@ /* Introduced in SDL 1.0.2 */ Window fswindow; /* The X11 fullscreen window */ Window wmwindow; /* The X11 managed input window */ + + /* Introduced in SDL 1.2.12 */ + Display *gfxdisplay; /* The X11 display to which rendering is done */ } x11; } info; } SDL_SysWMinfo;