include/SDL_events.h
changeset 2131 55c7932d1fdb
parent 1957 c7803e4c21d3
child 2152 003c1b5b07da
--- a/include/SDL_events.h	Tue Jun 19 05:53:56 2007 +0000
+++ b/include/SDL_events.h	Wed Jun 20 00:01:04 2007 +0000
@@ -278,10 +278,11 @@
  */
 typedef struct SDL_UserEvent
 {
-    Uint8 type;         /**< SDL_USEREVENT through SDL_NUMEVENTS-1 */
-    int code;           /**< User defined event code */
-    void *data1;        /**< User defined data pointer */
-    void *data2;        /**< User defined data pointer */
+    Uint8 type;             /**< SDL_USEREVENT through SDL_NUMEVENTS-1 */
+    int code;               /**< User defined event code */
+    void *data1;            /**< User defined data pointer */
+    void *data2;            /**< User defined data pointer */
+    SDL_WindowID windowID;  /**< The associated window if any*/
 } SDL_UserEvent;
 
 /**