[clutter/clutter-1.18] device-manager-evdev: Make sure to reset released when reclaiming devices



commit 9b097eb4d86e5235b3434a1e095f29a6a835b3cc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Mar 1 14:12:54 2014 -0500

    device-manager-evdev: Make sure to reset released when reclaiming devices
    
    Otherwise, Clutter will tell us that we forgot to call reclaim_devices
    the next time we call release_devices... but we didn't!

 clutter/evdev/clutter-device-manager-evdev.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c
index fb6c0a2..bdca5d4 100644
--- a/clutter/evdev/clutter-device-manager-evdev.c
+++ b/clutter/evdev/clutter-device-manager-evdev.c
@@ -1450,6 +1450,8 @@ clutter_evdev_reclaim_devices (void)
 
   libinput_resume (priv->libinput);
   process_events (manager_evdev);
+
+  priv->released = FALSE;
 }
 
 /**


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