Re: GdkEventMask?



Am Thu, 10 Jul 2003 13:45:33 -0400 schrieb Tristan Van Berkom:



Ok, so I ask the question another way. How could I get informed
inside my app before this problem accourcs and my app crashes?

Is there an abbility to set some kind of "Exception Handling" for
this "serial 44 error_code 10 request_code 2 minor_code 0" - Error?
 

I'm not so sure right now (should look at the gdkx.[ch] code to find
out) but I think that gdk makes a call to `abort()' when encountering
errors from the X server.(I'm very not sure about that; guess guess).

You are right. The functions are

gdk_error_trap_push() and gdk_error_trap_pop()

thanks for your help
Andreas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]