projects
/
platform
/
core
/
uifw
/
e-mod-tizen-keyrouter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56060c8
)
Check client and surface are all NULL
11/65011/1
accepted/tizen/ivi/20160407.110537
accepted/tizen/mobile/20160407.110451
accepted/tizen/tv/20160407.110508
accepted/tizen/wearable/20160407.110520
submit/tizen/20160407.020438
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 7 Apr 2016 00:55:16 +0000
(09:55 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 7 Apr 2016 00:55:16 +0000
(09:55 +0900)
Change-Id: I6f3b9e650eea357430a34249f4683f499f5d0473
src/e_mod_keyrouter_events.c
patch
|
blob
|
history
diff --git
a/src/e_mod_keyrouter_events.c
b/src/e_mod_keyrouter_events.c
index
ea9dcbc
..
21dd418
100644
(file)
--- a/
src/e_mod_keyrouter_events.c
+++ b/
src/e_mod_keyrouter_events.c
@@
-396,7
+396,7
@@
e_keyrouter_util_get_pid(struct wl_client *client, struct wl_resource *surface)
struct wl_client *cur_client = NULL;
if (client) cur_client = client;
- else cur_client = wl_resource_get_client(surface);
+ else
if (surface)
cur_client = wl_resource_get_client(surface);
EINA_SAFETY_ON_NULL_RETURN_VAL(cur_client, 0);
wl_client_get_credentials(cur_client, &pid, &uid, &gid);