Skip invisible windows when looking for window under pointer.
This commit is contained in:
parent
0d36d4f08e
commit
cfd2bd3945
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user