clipster
clipster copied to clipboard
fix display.get_pointer issues
i don't really know what's up, but it seems like get_pointer just outputs a tuple
The latest stable version of GdkDisplay (3.24) definitely has mask
- I wonder if this is down to changing API? https://developer.gnome.org/gdk3/stable/GdkDisplay.html#gdk-display-get-pointer
I could accept this if it was set up so that it first tries mask, then falls back to tuple?
I was just trying to fix tests to make my other PR build...
In any case, gdk_display_get_pointer
is deprecated, so best course of action would be moving to gdk_device_get_position
...
So I moved to get_pointer
since the method I was using of getting the masks went from deprecated to removed, and get_pointer
was previously referenced as the new way to get masks.
Now it too is deprecated, and while it suggests get_position
this provides no access to masks, and I haven't found an alternative route to this through other methods.
It's on my list of things to look at - but unfortunately I don't have much time just now for that...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.