Hi all, there seems to be a problem with SDL applications starting directly into fullscreen when blackbox has been configured for sloppy focus and auto-raise. What happens is that while the application starts up fine and actually runs fine, it is hidden behind a blank window.
Digging through the mailing list archive, I could see that this problem has been discussed on this list before, but since it persists in the current release it doesn't look like it has actually been solved. I am unfamiliar with core X programming but looking through the 1.1.8 SDL and blackbox 0.61.1 sources I believe what is happening is this: The SDL application starts up and opens its primary window, which is managed by blackbox. The application then creates an auxilary window to beused for fullscreen; not meant to have any decorations or to be managed, SDL creates it with the override_redirect option set and makes sure that the window is on top of the window stack. The input devices are grabbed, which results in the application running very happily. What appears to be happening then, however, is that the auto-raise timer set for the original SDL window by blackbox expires and raiseWindow is called for that Window. Blackbox then moves the original, decorated SDL window on the top of the window stack. Now, as I mentioned previously, I am not overly familiar with core X programming and don't really have the time to look any deeper, but I would greatly appreciate it if somebody here could come up with a solution. One thing I am wondering is why the timer gets set in the first place =) -- christian zander [EMAIL PROTECTED]
