[gtk+] gdkevents: Ensure the seat data is copied in events



commit b0d72a36d8c81d9035a15136e9d67593baf20989
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Dec 16 18:59:57 2015 +0100

    gdkevents: Ensure the seat data is copied in events

 gdk/gdkevents.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 5dca604..62a4748 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -660,6 +660,7 @@ gdk_event_copy (const GdkEvent *event)
       new_private->screen = private->screen;
       new_private->device = private->device ? g_object_ref (private->device) : NULL;
       new_private->source_device = private->source_device ? g_object_ref (private->source_device) : NULL;
+      new_private->seat = private->seat;
     }
 
   switch (event->any.type)


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