Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SysWW/X11: Return the X11 window as wmwindow and x11window
Steel Storm (and presumably other darkplaces, SDL 1.2-based games) expect x11.wmwindow to be valid if they've created a window and are running under X11. Just pass the same game window like we do for x11.window. See the old darkplaces code here: https://github.com/xonotic/darkplaces/blob/a0465ad2ee16719587b0b7a80d4c1c2f7df1ac0e/vid_sdl.c#L2334 This should fix the BadWindow errors on Steel Storm Burning Retribution (issue #290)
- Loading branch information