The header for SDL_syswm.h documents the window member of the X11 structure
being the SDL graphics window. This was incorrectly being set to the
managed window instead of the graphics window in SDL 1.1. This is now
fixed in CVS, but system-dependent X11 code that relied on the window
being the managed window may now be broken. Change broken code to use
the wmwindow member of the X11 structure.
-Sam Lantinga, Lead Programmer, Loki Entertainment Software