Gtk, X and sdl

I’ve just added some code to my SDL app to use gtk to pop up a separate
dialog box window when errors occur.

My dialog box routine blocks (by calling the gtk main loop function)
until the user has clicked a response. This means that my main (SDL)
window is probably being starved of events, and I’m worried about the
implications of this.

I know that win32 can start to get panicy if your message processing
loop goes quiet for a while, but I’m not sure how X feels about it. Are
there any precautions I should take?

Thanks, Ben.–
Ben Campbell (Antipodean Straggler)
Programmer, Creature Labs
ben.campbell at creaturelabs.com
www.creatures.co.uk

I know that win32 can start to get panicy if your message processing
loop goes quiet for a while, but I’m not sure how X feels about it. Are
there any precautions I should take?

X is fine without the client processing events. :slight_smile:

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga wrote:

I know that win32 can start to get panicy if your message processing
loop goes quiet for a while, but I’m not sure how X feels about it. Are
there any precautions I should take?

X is fine without the client processing events. :slight_smile:

Ahhhh… it’s so nice writing stuff for a grown-up OS :slight_smile:

Ben.–
Ben Campbell (Antipodean Straggler)
Programmer, Creature Labs
ben.campbell at creaturelabs.com
www.creatures.co.uk