Hello,
Perhaps you could have something as the code below (it works for me.
It is based in GtkGlArea / GtkGLExt examples and discussions in this
list with Havoc Pennington years ago)
int callback_area_notify (GtkWidget *widget,
GdkEventMotion *event, void *data)
{
my_structure *structure =
Hello,
That I'm getting more events (not just one, because I never call
gdk_event_request_motions() or gdk_window_get_pointer() anywhere in my
code) it seems somehow someone else is calling
gdk_event_request_motions() or gdk_window_get_pointer() (the examples
on internet are not really
Hello,
I'm trying to detect mouse moves in a drawing area. The default
behaviour without the GDK_POINTER_MOTION_HINT_MASK is as expected
flooding me with events which I can't handle.
So I added that flag, but I still get way too many events.
In my handler I put this at the top:
Emmanuel Touzery wrote:
Hello,
I'm trying to detect mouse moves in a drawing area. The default
behaviour without the GDK_POINTER_MOTION_HINT_MASK is as expected
flooding me with events which I can't handle.
Perhaps you could have something as the code below (it works for me. It
is based