No events with SDL_WINDOWID

hi all
i created a window with xlib and putenv his id
sdl is now in my window, fine

but, now, my sdl events aren’t working anymore
i took a look at SDL_x11video.c and discover that WMwindow (the “/* Input
window, managed by window manager */” , (this->hidden->WMwindow)) is not set
if SDL_WINDOWID is in X11_CreateWindow

so, why not set WMwindow with env var SDL_WINDOWID intead of SDL_Window,
since WMwindow is parent of SDL_WINDOWID ??

right now, i have absolutly no clue how to get acces at current
SDL_PrivateVideoData to resolve this, you guys have made a very good job, no
public “object” seems to contain a ptr to current_video

could be possible at least to get a SDL_SetWMInfo to change windowID in
future realease?

or, please, tell me I am really stupid and i just have to do “xyz” to get my
events working fine

btw, is there a way to create an overlay before creating display surface
without “buffer” surface?

thx!!!

julien vary

i hope you were able to understand my incredible english :-/

hi all
i created a window with xlib and putenv his id
sdl is now in my window, fine

but, now, my sdl events aren’t working anymore

That’s correct. If you create an X window, you have to manage events on it.
This is so that SDL doesn’t conflict with event management of other UI toolkits.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment