win32: Use right native_window for implicit grabs

The native grab really is on the window that got the button press event.
This commit is contained in:
Alexander Larsson 2011-10-19 21:35:04 +02:00
parent 321acc3286
commit 915e9d57f9

View File

@ -9342,7 +9342,7 @@ proxy_button_event (GdkEvent *source_event,
_gdk_display_add_device_grab (display,
device,
pointer_window,
toplevel_window,
event_window,
GDK_OWNERSHIP_NONE,
FALSE,
gdk_window_get_events (pointer_window),