Deborah Swayne <[EMAIL PROTECTED]> writes:
> When I test event->is_hint inside my motion_notify callback,
> it's 0 even though I carefully execute
>
> gtk_widget_set_events (sp->da, GDK_EXPOSURE_MASK
> | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
> | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK);
>
> What might I be doing to nullify that setting?
>
I'm not sure, but I think it's possible to get !is_hint events even if
you pass in the hint mask. I'd have to look up the details.
I don't think there's really a reason to check is_hint - typically we
just unconditionally use gdk_window_get_pointer() these days, and
always ignore event->x event->y.
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list