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:
a2f12ff
)
e_keyrouter: protect key grab list in keygrab print
01/302201/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 1 Dec 2023 11:10:04 +0000
(20:10 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Mon, 4 Dec 2023 04:57:39 +0000
(13:57 +0900)
Change-Id: I4c1d0a30f74abcb9a2a3d5e0748042b831d62b1a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/e_keyrouter.c
patch
|
blob
|
history
diff --git
a/src/bin/e_keyrouter.c
b/src/bin/e_keyrouter.c
index
975dcff
..
1fe2664
100644
(file)
--- a/
src/bin/e_keyrouter.c
+++ b/
src/bin/e_keyrouter.c
@@
-206,6
+206,7
@@
_e_keyrouter_keygrab_print(void *data, const char *log_path)
fprintf(log_fl, " ----- End -----\n\n");
fprintf(log_fl, " ----- Grabbed keys Info -----\n\n");
+ g_rec_mutex_lock(&krt->grab_key_mutex);
for (i = 8; i <= krt->max_tizen_hwkeys; i++)
{
if (!krt->HardKeys[i].keycode) continue;
@@
-266,6
+267,8
@@
_e_keyrouter_keygrab_print(void *data, const char *log_path)
fprintf(log_fl, "\n");
}
+ g_rec_mutex_unlock(&krt->grab_key_mutex);
+
fprintf(log_fl, " ----- End -----\n\n");
fclose(log_fl);