GNOME Bugzilla – Bug 621685
Add gdk_device_manager_get_client_pointer() for getting main core pointer
Last modified: 2010-06-24 00:25:42 UTC
I'm attaching a patch that implements that function, resorting to XIGetClientPointer() in XI2, and to the core_pointer as usual for other device managers, this is a better replacement to gdk_display_get_core_pointer(), for the little usecases there's no GdkDevice around.
Created attachment 163713 [details] [review] GdkDeviceManager: Add gdk_device_manager_get_client_pointer(). This function makes a better replacement for gdk_display_get_core_pointer(), wherever it might yet be needed, for XI2 resorts to XIGetClientPointer(), for the others return the only core pointer.
Review of attachment 163713 [details] [review]: Looks good to me.
Just pushed this to master, thanks!