[gtk+/xi2: 140/148] gdk_device_grab(): Pass correct ownership to GdkDisplay internals.



commit 54b385bf2aa8e2612664f81a79c03fda259c6816
Author: Carlos Garnacho <carlos gnome org>
Date:   Tue Dec 8 15:13:21 2009 +0100

    gdk_device_grab(): Pass correct ownership to GdkDisplay internals.
    
    Onwership was unconditionally set to none, so other devices could still
    send events.

 gdk/gdkdevice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index eb6436e..97a5197 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -750,7 +750,7 @@ gdk_device_grab (GdkDevice        *device,
                                     device,
                                     window,
                                     native,
-                                    GDK_OWNERSHIP_NONE,
+                                    grab_ownership,
                                     owner_events,
                                     event_mask,
                                     serial,



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