[mutter/wip/garnacho/virtual-input-device: 15/22] clutter/evdev: Use the "master" device when looking up the stage.



commit f3c4a447d7f3ec4c3c761fce1febb6c869181dd7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jul 11 18:30:16 2016 +0200

    clutter/evdev: Use the "master" device when looking up the stage.

 .../clutter/evdev/clutter-device-manager-evdev.c   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter/evdev/clutter-device-manager-evdev.c 
b/clutter/clutter/evdev/clutter-device-manager-evdev.c
index b8f4921..38ca463 100644
--- a/clutter/clutter/evdev/clutter-device-manager-evdev.c
+++ b/clutter/clutter/evdev/clutter-device-manager-evdev.c
@@ -709,7 +709,7 @@ clutter_event_dispatch (GSource     *g_source,
     {
       ClutterModifierType event_state;
       ClutterInputDevice *input_device =
-        clutter_event_get_source_device (event);
+        clutter_event_get_device (event);
       ClutterInputDeviceEvdev *device_evdev =
         CLUTTER_INPUT_DEVICE_EVDEV (input_device);
       ClutterSeatEvdev *seat =


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