[gtk+/xi2: 1199/1239] gdk_window_set_device_events: Set actual events on native window.



commit 04a0d8d8b5e1b86aeaebf5cf1bae116578c7d638
Author: Carlos Garnacho <carlos gnome org>
Date:   Sun Sep 20 16:33:24 2009 +0200

    gdk_window_set_device_events: Set actual events on native window.

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 67bda2e..c090fb3 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -6721,7 +6721,7 @@ gdk_window_set_device_events (GdkWindow    *window,
     }
 
   device_mask = get_native_device_event_mask (private, device);
-  GDK_DEVICE_GET_CLASS (device)->select_window_events (device, window, device_mask);
+  GDK_DEVICE_GET_CLASS (device)->select_window_events (device, native, device_mask);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]