[clutter/clutter-1.18] input-device: Ensure crossing events are paired for touch sequences



commit 8f96cfcfdacda4f877983a6b49f3ba46b741fe88
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jul 21 23:44:10 2014 +0200

    input-device: Ensure crossing events are paired for touch sequences
    
    When the sequence is lifted the actor wouldn't be unset, so the corresponding
    CLUTTER_LEAVE event would never be sent for the touch sequence.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733560
    (cherry picked from commit 0c0c069b3fa1cdf003839b4581906b989f379b1a)
    Signed-off-by: Emmanuele Bassi <ebassi gnome org>

 clutter/clutter-input-device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-input-device.c b/clutter/clutter-input-device.c
index 0bb8a05..89728f7 100644
--- a/clutter/clutter-input-device.c
+++ b/clutter/clutter-input-device.c
@@ -1529,6 +1529,7 @@ _clutter_input_device_remove_event_sequence (ClutterInputDevice *device,
 
       g_hash_table_replace (device->inv_touch_sequence_actors,
                             info->actor, sequences);
+      _clutter_input_device_set_actor (device, sequence, NULL, TRUE);
     }
 
   g_hash_table_remove (device->touch_sequences_info, sequence);


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