Skip to content
Snippets Groups Projects
Commit d3fef2ef authored by deuce's avatar deuce
Browse files

Actually, enabling the SYSWMEVENTS in the INIT event results in them

happening earlier... so early in fact, that we don't even know if we should
at that point.
parent 043cffe4
No related branches found
No related tags found
No related merge requests found
......@@ -740,6 +740,8 @@ int sdl_init(int mode)
sdl_x11available=FALSE;
}
}
if(sdl_x11available)
sdl.EventState(SDL_SYSWMEVENT, SDL_ENABLE);
#endif
return(0);
}
......@@ -1713,10 +1715,6 @@ int sdl_video_event_thread(void *data)
}
}
sdl_ufunc_retval=0;
#if !defined(NO_X) && defined(__unix__)
if(sdl_x11available)
sdl.EventState(SDL_SYSWMEVENT, SDL_ENABLE);
#endif
sdl.SemPost(sdl_ufunc_ret);
break;
case SDL_USEREVENT_COPY:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment