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:
e6bd6fc
)
e_comp_wl_input: Use e_client_from_surface_resource()
75/296275/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 24 Jul 2023 08:18:10 +0000
(17:18 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Tue, 25 Jul 2023 00:17:19 +0000
(09:17 +0900)
Use e_client_from_surface_resource() to get a E_Client instance from a
surface resource instead of using wl_resource_get_user_data(). The user
data of wl_resource for surface is no longer a E_Client instance.
Change-Id: I37fec784cbfc150aaaebef9860abde3283d346be
src/bin/e_comp_wl_input.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_input.c
b/src/bin/e_comp_wl_input.c
index
a53e6fa
..
3eabe66
100644
(file)
--- a/
src/bin/e_comp_wl_input.c
+++ b/
src/bin/e_comp_wl_input.c
@@
-1070,7
+1070,7
@@
_e_comp_wl_input_cb_pointer_constraints_lock_pointer(struct wl_client *client,
return;
}
- E_Client *ec =
wl_resource_get_user_data
(surface);
+ E_Client *ec =
e_client_from_surface_resource
(surface);
if (!ec)
{