SDL/Gnome problem?

I’ve got a wierd problem where my SDL-based game is preventing gnome
from launching programs.
While my app is running, launching programs from either the gnome foot
menu or the right mousebutton menu has no effect. When my app exits, all
the programs I tried to launch suddenly start up.
I can launch stuff without problems from an already-open terminal.

Has anyone else encountered this behaviour?
Can anyone think what might be happening prventing gnome from starting
apps?

Thanks,
Ben.–
Ben Campbell
Programmer, Creature Labs
ben.campbell at creaturelabs.com
http://www.creaturelabs.com

I’ve got a wierd problem where my SDL-based game is preventing gnome
from launching programs.
While my app is running, launching programs from either the gnome foot
menu or the right mousebutton menu has no effect. When my app exits, all
the programs I tried to launch suddenly start up.
I can launch stuff without problems from an already-open terminal.

Has anyone else encountered this behaviour?
Can anyone think what might be happening prventing gnome from starting
apps?

Thanks,
Ben.

If memory serves, the last time I saw something like this
was with older versions of SDL and esd… I don’t remember
exactly how this was fixed, but if I remember correctly it
was caused by esd blocking when it couldn’t open the audio
device… The gnome menus and panels tell esd to play a
sound before launching the app… esd tries to, but
blocks because the SDL app already has the sound device
open… when the SDL app exits, esd unblocks, plays the
sounds, and the apps that were waiting, launch…

Hope this helped…

-Loren


Great news! Get free KNXmail here!

sondheim at knxmail.com wrote:

I’ve got a wierd problem where my SDL-based game is preventing gnome
from launching programs.
While my app is running, launching programs from either the gnome foot
menu or the right mousebutton menu has no effect. When my app exits, all
the programs I tried to launch suddenly start up.
I can launch stuff without problems from an already-open terminal.

Has anyone else encountered this behaviour?
Can anyone think what might be happening prventing gnome from starting
apps?

Thanks,
Ben.

If memory serves, the last time I saw something like this
was with older versions of SDL and esd… I don’t remember
exactly how this was fixed, but if I remember correctly it
was caused by esd blocking when it couldn’t open the audio
device… The gnome menus and panels tell esd to play a
sound before launching the app… esd tries to, but
blocks because the SDL app already has the sound device
open… when the SDL app exits, esd unblocks, plays the
sounds, and the apps that were waiting, launch…

Hmmm… I’m not sure if I’m even running esd. Will have to
investigate…
Does gnome tend to use esd even if Enlightenment itself isn’t being
used?
(I’m using Sawfish as my WM at the moment).

Hope this helped…

Yes thanks, I’ll do some digging!

Ben.–
Ben Campbell
Programmer, Creature Labs
ben.campbell at creaturelabs.com
http://www.creaturelabs.com