Skip invisible windows when looking for window under pointer.

This commit is contained in:
Yevgen Muntyan 2010-04-18 11:04:46 -07:00
parent 0d36d4f08e
commit cfd2bd3945

View File

@ -390,7 +390,7 @@ get_pointer (GdkWindow *window,
*x = point.x; *x = point.x;
*y = point.y; *y = point.y;
hwndc = ChildWindowFromPoint (hwnd, point); hwndc = ChildWindowFromPointEx (hwnd, point, CWP_SKIPINVISIBLE);
if (hwndc != NULL && hwndc != hwnd) if (hwndc != NULL && hwndc != hwnd)
child = gdk_win32_handle_table_lookup ((GdkNativeWindow) hwndc); child = gdk_win32_handle_table_lookup ((GdkNativeWindow) hwndc);
if (child != NULL) if (child != NULL)