projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368ddcb
)
e_comp_wl: modify e_comp_wl_surface_get function implementation
86/317386/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Thu, 5 Sep 2024 06:11:57 +0000
(15:11 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Mon, 9 Sep 2024 23:22:08 +0000
(08:22 +0900)
We changed code to call e_comp_wl_client_surface_get() in e_comp_wl_surface_get E_API
for thread safety while accessing the surface resource.
Change-Id: I85adad30b9630b95bb33f413ca35a0d990f4041f
src/bin/server/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/server/e_comp_wl.c
b/src/bin/server/e_comp_wl.c
index
d95340a
..
68958d5
100644
(file)
--- a/
src/bin/server/e_comp_wl.c
+++ b/
src/bin/server/e_comp_wl.c
@@
-4607,10
+4607,7
@@
e_comp_wl_video_client_set(E_Client *ec, Eina_Bool set)
E_API struct wl_resource *
e_comp_wl_surface_get(E_Client *ec)
{
- EINA_SAFETY_ON_NULL_RETURN_VAL(ec, NULL);
- EINA_SAFETY_ON_NULL_RETURN_VAL(ec->comp_data, NULL);
-
- return ec->comp_data->surface;
+ return e_comp_wl_client_surface_get(ec);
}
E_API struct wl_resource *