clipster icon indicating copy to clipboard operation
clipster copied to clipboard

fix display.get_pointer issues

Open barraponto opened this issue 6 years ago • 4 comments

i don't really know what's up, but it seems like get_pointer just outputs a tuple

barraponto avatar Sep 18 '18 04:09 barraponto

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?

mrichar1 avatar Sep 24 '18 09:09 mrichar1

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...

barraponto avatar Sep 24 '18 15:09 barraponto

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_positionthis 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...

mrichar1 avatar Sep 24 '18 15:09 mrichar1

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.

stale[bot] avatar Apr 16 '22 13:04 stale[bot]