Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4899:5d529386db73 | 4900:69d9db65f248 |
---|---|
88 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { | 88 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { |
89 SDL_SysWMmsg wmmsg; | 89 SDL_SysWMmsg wmmsg; |
90 | 90 |
91 SDL_VERSION(&wmmsg.version); | 91 SDL_VERSION(&wmmsg.version); |
92 wmmsg.subsystem = SDL_SYSWM_X11; | 92 wmmsg.subsystem = SDL_SYSWM_X11; |
93 wmmsg.event.xevent = xevent; | 93 wmmsg.msg.x11.event = xevent; |
94 SDL_SendSysWMEvent(&wmmsg); | 94 SDL_SendSysWMEvent(&wmmsg); |
95 } | 95 } |
96 | 96 |
97 data = NULL; | 97 data = NULL; |
98 if (videodata && videodata->windowlist) { | 98 if (videodata && videodata->windowlist) { |