[gtk+/xi2: 639/1239] Use the right event_mask for selecting.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 639/1239] Use the right event_mask for selecting.
- Date: Tue, 29 Sep 2009 10:48:55 +0000 (UTC)
commit 0632a99b49cfa08bf741f5ff0473778c72d43cd2
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Jul 28 22:05:17 2009 +0200
Use the right event_mask for selecting.
Toplevel windows now have a different event_mask so they can deliver events
to the child GdkOffscreenWindows.
gdk/x11/gdkwindow-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index dec864e..4205029 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -837,7 +837,7 @@ _gdk_window_impl_new (GdkWindow *window,
gdk_window_set_type_hint (window, attributes->type_hint);
device_manager = gdk_device_manager_get_for_display (GDK_WINDOW_DISPLAY (window));
- gdk_device_manager_set_window_events (device_manager, window, attributes->event_mask);
+ gdk_device_manager_set_window_events (device_manager, window, event_mask);
}
static GdkEventMask
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]