I am trying to get the pointer position on screen in Gdk and found gdk_display_get_pointer()
, which works fine, but it's marked as deprecated and refers to gdk_device_get_position()
now.
But how do I use this function? I cannot get a GdkDevice
, since there is no factory, nor is there a constructor.