summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_input_event.eo
diff options
context:
space:
mode:
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_event.eo
parente139fda75bdd34f51bca488c2ee93a958124db8a (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_event.eo')
-rw-r--r--src/lib/evas/canvas/efl_input_event.eo11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_input_event.eo b/src/lib/evas/canvas/efl_input_event.eo
index 420bf7ac77..718d203925 100644
--- a/src/lib/evas/canvas/efl_input_event.eo
+++ b/src/lib/evas/canvas/efl_input_event.eo
@@ -65,7 +65,16 @@ mixin Efl.Input.Event
65 val: bool; [[$true if the event was not from real hardware, $false otherwise]] 65 val: bool; [[$true if the event was not from real hardware, $false otherwise]]
66 } 66 }
67 } 67 }
68 instance_get @class @protected @pure_virtual { 68
69 /* FIXME: Internal functions should be marked as such, not as protected! */
70 @property legacy_info @protected @pure_virtual /* @internal */ {
71 [[Returns the legacy info structure. Internal API, do not use it!]]
72 get {}
73 values {
74 event_info: void_ptr; [[Should not be $null.]]
75 }
76 }
77 instance_get @class @protected @pure_virtual /* @internal */ {
69 [[Get an instance of this input event]] 78 [[Get an instance of this input event]]
70 params { 79 params {
71 @in owner: Efl.Object; [[Owner of this input event]] 80 @in owner: Efl.Object; [[Owner of this input event]]