gdk_display_get_window_at_pointer() deprecation comment could be more helpful
@murrayc
Submitted by Murray Cumming Link to original bug (#638907)
Description
gdk_display_get_window_at_pointer() is deprecated in GTK+ 3 with a simple suggestion to just use gdk_device_get_window_at_position() instead: http://library.gnome.org/devel/gdk/unstable/GdkDisplay.html#gdk-display-get-window-at-pointer (It is not yet deprecated in gtk+ 2.4.)
But it doesn't suggest how we might get a device so we can call that function.
I'm trying to port the change_display part of the gtkmm demo, but the relevant part of the GTK+ demo has not been ported yet: http://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/changedisplay.c (I really think that the build of the demos should disable deprecated GDK and GTK+ API, to force people to port that code when changing API.)
Version: 3.0.x