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



commit 646faeb00d2061dbe4c208282bea4891537a33dd
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 38ca463..dca8848 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]