summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-28 11:27:56 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-28 12:30:36 +0900
commit96d94e0076773d6b29107035dc61f5df01a3347f (patch)
treee5795f208a5dd9c7d04da8edfb3ae9e07730506b /src/lib/efl
parent3dc140abfb30b94eae3093fd565f2f111c03be04 (diff)
evas: Fix dangling references with input devices
This solves issues with efl_input_dup() which didn't properly give a reference to the caller, resulting in dangling eo ids. Note: This may trigger leaks (instead of invalid refs), but this now actually reflects the meaning of @owned. This should work with bindings and C API users should know to call efl_unref(). This patch is the reason for the previous improvements on eo_debug. @fix
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_common_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_common_internal.h b/src/lib/efl/interfaces/efl_common_internal.h
index 4a418cc314..a83edf1aa2 100644
--- a/src/lib/efl/interfaces/efl_common_internal.h
+++ b/src/lib/efl/interfaces/efl_common_internal.h
@@ -114,7 +114,7 @@ struct _Efl_Input_Focus_Data
114{ 114{
115 Eo *eo; 115 Eo *eo;
116 Efl_Input_Device *device; //The seat 116 Efl_Input_Device *device; //The seat
117 Eo *object; //The focused object - Efl.Canvas.Object or Efl.Canvas. 117 Eo *object_wref; // wref on the focused object - Efl.Canvas.Object or Efl.Canvas.
118 double timestamp; 118 double timestamp;
119}; 119};
120 120