path: root/src/lib/evas/canvas/efl_canvas_object.eo
diff options
authorCedric BAIL <cedric@osg.samsung.com>2017-05-09 15:54:45 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-05-09 15:54:45 -0700
commit4baeb17dbab8e438465b402dc6d11bf46613f506 (patch)
tree5eafeac7bddc24faa99cb69400f3cca81dff20b2 /src/lib/evas/canvas/efl_canvas_object.eo
parentevas: make sure that even when nothing is rendered there is a pair of RENDER_... (diff)
evas: adjust pointer mode set to work in headless scenario.
With the wayland backend, it is posible to have no seat connected until later. This would lead to calling evas_object_pointer_mode_set and fail without returning a boolean it was impossible to detect it did fail. This patch correct it.
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_object.eo')
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 458c1aeba6..b2569ce26c 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -33,6 +33,7 @@ abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx, Efl.Gfx.Stack, Efl.Animator,
pointer_mode: Efl.Input.Object_Pointer_Mode; [[The pointer mode]]
set {
+ return: bool;
legacy: null;
get {
@@ -58,6 +59,11 @@ abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx, Efl.Gfx.Stack, Efl.Animator,
See also: @.pointer_mode_by_device.get and @.pointer_mode_by_device.set
Note: This function will only set/get the mode for the default pointer.
+ get {
+ }
+ set {
+ return: bool;
+ }
values {
pointer_mode: Efl.Input.Object_Pointer_Mode; [[Input pointer mode]]