[mutter/wip/garnacho/virtual-input-device: 82/94] clutter/evdev: Ensure the main seat has the stage set.



commit 2e8904ae4c41a02e5f48ef45a0fc2c52550027d2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jul 11 18:31:56 2016 +0200

    clutter/evdev: Ensure the main seat has the stage set.

 .../clutter/evdev/clutter-device-manager-evdev.c   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter/evdev/clutter-device-manager-evdev.c 
b/clutter/clutter/evdev/clutter-device-manager-evdev.c
index 06b1ba0..64477cd 100644
--- a/clutter/clutter/evdev/clutter-device-manager-evdev.c
+++ b/clutter/clutter/evdev/clutter-device-manager-evdev.c
@@ -1948,6 +1948,7 @@ clutter_device_manager_evdev_stage_added_cb (ClutterStageManager *manager,
    * stage to re associate the devices with.
    */
   priv->stage = stage;
+  clutter_seat_evdev_set_stage (priv->main_seat, stage);
 
   /* Set the stage of any devices that don't already have a stage */
   for (l = priv->seats; l; l = l->next)


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