projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wm-policy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c9a77
)
rotation: remove show_grab when ec is deleted
27/275427/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 25 May 2022 00:54:17 +0000
(09:54 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 25 May 2022 00:54:17 +0000
(09:54 +0900)
There was a crash issue if the ec was destroyed while pending show.
This will resolve it.
Change-Id: I41046590c757f2181c83e973352f9cd9921642e5
src/rotation/e_mod_rotation_wl.c
patch
|
blob
|
history
diff --git
a/src/rotation/e_mod_rotation_wl.c
b/src/rotation/e_mod_rotation_wl.c
index
68a5d43
..
b5fb13e
100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-2560,6
+2560,9
@@
_rot_hook_client_del(void *d EINA_UNUSED, E_Client *ec)
EINA_LIST_FREE(ext_rot->rotation_list, res)
wl_resource_set_user_data(res, NULL);
+ if (ext_rot->show_grab)
+ E_FREE_FUNC(ext_rot->show_grab, e_policy_visibility_client_grab_release);
+
eina_hash_del_by_key(rot_hash, &ec);
}