e_hwc_planes: use e_client_cdata_get 74/247474/3
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 11 Nov 2020 00:45:34 +0000 (09:45 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 11 Nov 2020 08:52:22 +0000 (08:52 +0000)
Change-Id: I1f5ccc05ff6557e20782f93f9d217b7b6f040634

src/bin/e_hwc_planes.c

index b8406414435250453e63ffb195ec8397a0d30cfb..ee01fa28a22d8f4775da6d2af2fb2e9e6dddee54 100644 (file)
@@ -18,7 +18,7 @@ e_hwc_planes_deinit(void)
 static Eina_Bool
 _e_hwc_planes_ec_check(E_Client *ec)
 {
-   E_Comp_Wl_Client_Data *cdata = (E_Comp_Wl_Client_Data*)ec->comp_data;
+   E_Comp_Wl_Client_Data *cdata = e_client_cdata_get(ec);
    E_Output *eout;
    int minw = 0, minh = 0;
    int transform;