Re: gdk_pointer_ungrab and gtk_main_iteration bug



"Tara M" <learfox furry ao net> writes:

I've noticed that gdk_pointer_ungrab does not seem to work
when gtk_main_iteration is called just before.

The function has no affect, thus the pointer is not ungrabbed.
I even double checked to see if the pointer was actually grabbed
with gdk_pointer_is_grabbed and that returned false.

 a) gdk_pointer_is_grabbed is not reliable.
 b) You probably need to flush the X command queue ... try
    inserting a gdk_flush().  

Regards,
                                        Owen




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