From 6c0b19ccfc218a442aedfb8ec467750adc132d66 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 11 Nov 2020 09:43:12 +0900 Subject: [PATCH] e_comp_screen: use e_client_cdata_get Change-Id: Iabe0f01f65d3d73e39aa962f8973b22044df59db --- src/bin/e_comp_screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_screen.c b/src/bin/e_comp_screen.c index 78ec7cac54..411577d571 100644 --- a/src/bin/e_comp_screen.c +++ b/src/bin/e_comp_screen.c @@ -1358,6 +1358,7 @@ E_API void e_comp_screen_rotation_ignore_output_transform_send(E_Client *ec, Eina_Bool ignore) { E_Comp_Screen_Tzsr *tzsr = _tz_surface_rotation_find(ec); + E_Comp_Wl_Client_Data *cdata; if (!tzsr) return; @@ -1380,7 +1381,8 @@ e_comp_screen_rotation_ignore_output_transform_send(E_Client *ec, Eina_Bool igno ELOGF("TRANSFORM", "|tzsr(%p) ignore_output_transform(%d)", ec, tzsr, ignore); - tizen_screen_rotation_send_ignore_output_transform(tzsr->resource, ec->comp_data->surface, ignore); + cdata = e_client_cdata_get(ec); + tizen_screen_rotation_send_ignore_output_transform(tzsr->resource, cdata->surface, ignore); } EINTERN Eina_Bool -- 2.34.1