aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_out.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:51:20 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:51:20 -0700
commit7bcf483d6fd2cc49ec15187f9943b1e56140cff6 (patch)
treed9e00397f193185bcee21ced8f1afc1111e6ef13 /src/lib/evas/canvas/evas_out.c
parentevas: convert evas backend cache function call to use Engine context. (diff)
downloadefl-7bcf483d6fd2cc49ec15187f9943b1e56140cff6.tar.gz
evas: handle multiple output for plane assignment.
Diffstat (limited to 'src/lib/evas/canvas/evas_out.c')
-rw-r--r--src/lib/evas/canvas/evas_out.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_out.c b/src/lib/evas/canvas/evas_out.c
index fa8d914bee..666becdf1e 100644
--- a/src/lib/evas/canvas/evas_out.c
+++ b/src/lib/evas/canvas/evas_out.c
@@ -99,10 +99,10 @@ efl_canvas_output_view_set(Efl_Canvas_Output *output,
e = _efl_canvas_output_async_block(output);
if (!e) return ;
- output->x = x;
- output->y = y;
- output->w = w;
- output->h = h;
+ output->geometry.x = x;
+ output->geometry.y = y;
+ output->geometry.w = w;
+ output->geometry.h = h;
// XXX: tell engine about any output size etc. changes
// XXX: tell evas to add damage if viewport loc/size changed
}
@@ -111,10 +111,10 @@ EAPI void
efl_canvas_output_view_get(Efl_Canvas_Output *output,
Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
{
- if (x) *x = output->x;
- if (y) *y = output->y;
- if (w) *w = output->w;
- if (h) *h = output->h;
+ if (x) *x = output->geometry.x;
+ if (y) *y = output->geometry.y;
+ if (w) *w = output->geometry.w;
+ if (h) *h = output->geometry.h;
}
EAPI Eina_Bool