On 11/12/2018 16:25, Damon Chaplin wrote:
I can reproduce it now. It looks like the motion events are jumping around, possibly because some of them are for a different window. In the canvas code I often do this to filter out unwanted events: if (event->window != canvas->canvas_window) return FALSE;
Thanks for the help. If I output the gdk_window associated with the event, it seems they are all the same, so I don't think that is the problem. Reference [1] suggests using a motion-hint-mask and event->is_hint This also hasn't solved the problem. Any other suggestions? Regards Jeff [1] https://www.linuxtopia.org/online_books/gui_toolkit_guides/gtk+_gnome_application_development/sec-gdkevent_5.html
Attachment:
signature.asc
Description: OpenPGP digital signature