Fix win32 _gdk_windowing_window_at_pointer - port to gtk3
Submitted by Peter Clifton
Assigned to gtk-win32 maintainers
Created attachment 196283 Patch to fix this issue
Win32: Fix _gdk_windowing_window_at_pointer to correctly return a toplevel
Commit 5ebb32d1ffa23241d562fb4d5be02bc6f156b515 didn't add the correct code to find the toplevel window. The WindowFromPoint() function does not return the toplevel window in the hierarchy. Only certain cases require decending into child windows. Also (for neatness), add tests to ensure that we don't try to return either x or y window coordinates if that corresponding pointer is NULL.
Patch 196283, "Patch to fix this issue":