[gtk+/gtk-2-24-quartz] Use right native_window for implicit grabs
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-quartz] Use right native_window for implicit grabs
- Date: Wed, 23 Nov 2011 22:58:06 +0000 (UTC)
commit 94cead2170c0780f5e08d9608d7448f7fcfb2fb9
Author: Alexander Larsson <alexl redhat com>
Date: Wed Oct 19 21:35:04 2011 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index f058570..bf56a4a 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]