From c6cab74920aaa7f1148a77d682ae091a37420393 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 19 Oct 2011 21:35:04 +0200 Subject: [PATCH] Use right native_window for implicit grabs The native grab really is on the window that got the button press event. --- gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index f05857041c..bf56a4ac81 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -10745,7 +10745,7 @@ proxy_button_event (GdkEvent *source_event, _gdk_display_add_pointer_grab (display, pointer_window, - toplevel_window, + event_window, FALSE, gdk_window_get_events (pointer_window), serial,