Skip to content

gdk: Keep a reference on the last source device

Carlos Garnacho requested to merge wip/carlosg/last-device-refcount into gtk-3-24

This device may go away, which means we have a pointer to a possibly stale object. Keep a reference here, and let future events bring this accounting up-to-date when the mouse pointer is next updated via other device.

Fixes: #855

Merge request reports