gdk_pointer_grab bug?
- From: Jeff Gunter <j_l_gunter yahoo com>
- To: gtk-list gnome org
- Subject: gdk_pointer_grab bug?
- Date: Tue, 8 Aug 2000 15:03:19 -0700 (PDT)
Hi all,
System miscellany: GNU/Linux, XFree86, gtk+-1.2.8 (and
earlier, spot check finds it as far back as 1.2.1)
I think there is a bug in gdk_pointer_grab():
If the window argument is NULL then it returns 0;
If the window argument is !NULL and if the grab is
successful it returns Success which is inherited from
X.h where it is also defined as 0;
So, checking for the return value is tricky. (The
workaround is to make absolutely sure that you pass a
non-NULL window, then treat a 0 return value as
success.)
Best Regards,
Jeff Gunter
P.S. If there is a more appropriate place to report
Gtk/Gdk bugs could someone point me in that general
direction?
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]