From 9b097eb4d86e5235b3434a1e095f29a6a835b3cc Mon Sep 17 00:00:00 2001
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
Date: Sat, 1 Mar 2014 14:12:54 -0500
Subject: [PATCH] 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 file changed, 2 insertions(+)

diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c
index fb6c0a270..bdca5d477 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;
 }
 
 /**