src/video/x11/SDL_x11events.c
changeset 4902 50d0bff24d81
parent 4900 69d9db65f248
child 4934 a5b86644c208
equal deleted inserted replaced
4901:deadc1219bea 4902:50d0bff24d81
    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.msg.x11.event = xevent;
    93         wmmsg.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) {