diff src/video/x11/SDL_x11events.c @ 4900:69d9db65f248

Merged the Windows custom window system hooks into the union used by X11. Added Cocoa custom window system hooks
author Sam Lantinga <slouken@libsdl.org>
date Mon, 27 Sep 2010 01:24:05 -0700
parents c24ba2cc9583
children 50d0bff24d81
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Mon Sep 27 00:50:46 2010 -0700
+++ b/src/video/x11/SDL_x11events.c	Mon Sep 27 01:24:05 2010 -0700
@@ -90,7 +90,7 @@
 
         SDL_VERSION(&wmmsg.version);
         wmmsg.subsystem = SDL_SYSWM_X11;
-        wmmsg.event.xevent = xevent;
+        wmmsg.msg.x11.event = xevent;
         SDL_SendSysWMEvent(&wmmsg);
     }