(Touch) Ensure leave events are emitted to an actor that's detatched then re-attached... 17/24117/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 11:12:45 +0000 (12:12 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 14:14:26 +0000 (15:14 +0100)
commite3227624090db99d3fc93aaaada1d47ec9b0ddcc
tree992e0677c78c4abfcf926f2363f7a1ba1b6a24b5
parent199e382cf82c98b5d9ad2f6b8544e54007a1591b
(Touch) Ensure leave events are emitted to an actor that's detatched then re-attached to the stage in quick succession

[problem]      The primary hit actor is removed from the stage then re-added between motion events.
[cause]        Problem is that when it is removed, we have a flag to say we have disconnected
               from it. Normally we set a different actor on the next touch but if we set the same
               actor again, then this flag is not reset.
[solution]     Reset the flag when setting the actor.

Change-Id: Ia64fe0ac91107ada391f91a7d7b3d5a7a1280e84
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
dali/internal/event/events/touch-event-processor.cpp