GNOME Bugzilla – Bug 633222
add a GtkWidget::contains-pointer property
Last modified: 2015-08-16 22:37:21 UTC
Created attachment 173291 [details] [review] patch Here is a very sketchy patch to start on this. No attempt is made yet to handle grabs or leave events correctly. It adds two properties, ::contains-pointer and ::picked, which both count the number of pointing devices that are in the widget or its children, or directly in the widget, respectively. These are counters instead of booleans to handle multiple devices.
Created attachment 173297 [details] [review] some half-baked patch I had This patch doesn't compile or work, but maybe has some interesting ideas.