include/SDL_syswm.h
branchSDL-1.2
changeset 3872 be84332e761e
parent 1760 a9be6a3a51d1
child 4159 a1b03ba2fcd0
     1.1 --- a/include/SDL_syswm.h	Sun Sep 24 00:04:06 2006 +0000
     1.2 +++ b/include/SDL_syswm.h	Sun Sep 24 00:08:28 2006 +0000
     1.3 @@ -86,7 +86,8 @@
     1.4  	    	Display *display;	/* The X11 display */
     1.5  	    	Window window;		/* The X11 display window */
     1.6  		/* These locking functions should be called around
     1.7 -                   any X11 functions using the display variable.
     1.8 +                   any X11 functions using the display variable, 
     1.9 +                   but not the gfxdisplay variable.
    1.10                     They lock the event thread, so should not be
    1.11  		   called around event functions or from event filters.
    1.12  		 */
    1.13 @@ -96,6 +97,9 @@
    1.14  		/* Introduced in SDL 1.0.2 */
    1.15  	    	Window fswindow;	/* The X11 fullscreen window */
    1.16  	    	Window wmwindow;	/* The X11 managed input window */
    1.17 +
    1.18 +		/* Introduced in SDL 1.2.12 */
    1.19 +		Display *gfxdisplay;	/* The X11 display to which rendering is done */
    1.20  	    } x11;
    1.21  	} info;
    1.22  } SDL_SysWMinfo;