path: root/src/lib/evas/canvas/efl_input_pointer.eo
diff options
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-12 18:30:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-12 18:43:15 +0900
commit8ff2dffe7c7a21278de6bb9a6be2e2bb76be23c1 (patch)
tree436164665fd95d65375672cb0cdc74e8df9326a2 /src/lib/evas/canvas/efl_input_pointer.eo
parentconfigure: switch to dev mode again (diff)
evas/elm: Fix bad propagation of ON_HOLD flag
Test scenario: elementary_test -to "ExtScroller" Try and modify a slider's value with the mouse wheel. Bad things were happenning, as the flag ON_HOLD was not properly propagated from the slider to the scroller. This is because the legacy event_info structure inside the eo event info was not updated with the new flag value. By introducing a new EO only API, which is meant to remain internal, we can use a single legacy info structure, fixing this issue. Note: In the future this API needs to be internal, not protected. @fix
Diffstat (limited to 'src/lib/evas/canvas/efl_input_pointer.eo')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_input_pointer.eo b/src/lib/evas/canvas/efl_input_pointer.eo
index a83a2b015c..5c1a6461f2 100644
--- a/src/lib/evas/canvas/efl_input_pointer.eo
+++ b/src/lib/evas/canvas/efl_input_pointer.eo
@@ -171,6 +171,7 @@ class Efl.Input.Pointer (Efl.Object, Efl.Input.Event, Efl.Input.State)
Efl.Input.Event.fake { get; }
Efl.Input.Event.event_flags { get; set; }
Efl.Input.Event.device { get; set; }
+ Efl.Input.Event.legacy_info { get; }
Efl.Input.State.modifier_enabled { get; }
Efl.Input.State.lock_enabled { get; }