[SDL] getting X11 (or windows) events when SDL_WINDOWID is set

Pierre Phaneuf pphaneuf at gmail.com
Mon May 5 06:02:15 PDT 2008


On Mon, May 5, 2008 at 6:50 AM, Luigi Rizzo <rizzo at iet.unipi.it> wrote:

>  However, i see from the code in src/video/x11/SDL_x11video.c
>  that XSelectInput() is not called on this window, so the
>  application itself will not request X11 events.

Since this is already platform-specific and dealing with Window IDs,
you could just call XSelectInput yourself, before initializing SDL?

-- 
http://pphaneuf.livejournal.com/


More information about the SDL mailing list