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:
5e771a6
)
e_pointer: add safety checks in e_pointer_is_hidden()
14/59114/2
accepted/tizen/mobile/20160213.090536
accepted/tizen/tv/20160213.090910
accepted/tizen/wearable/20160213.091205
submit/tizen/20160212.050725
author
Duna Oh
<duna.oh@samsung.com>
Thu, 11 Feb 2016 00:18:38 +0000
(09:18 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Fri, 12 Feb 2016 05:02:52 +0000
(21:02 -0800)
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ie231a823257817cc553c0256965846052193ac2b
src/bin/e_pointer.c
patch
|
blob
|
history
diff --git
a/src/bin/e_pointer.c
b/src/bin/e_pointer.c
index 6b466337b121bf744e7457465ef78ba1f44e6a07..6018e7f54860a6bddaca4db7563759ea09eb6a17 100644
(file)
--- a/
src/bin/e_pointer.c
+++ b/
src/bin/e_pointer.c
@@
-834,6
+834,11
@@
e_pointer_is_hidden(E_Pointer *ptr)
{
Evas_Object *o;
+ EINA_SAFETY_ON_NULL_RETURN(ptr);
+
+ if (!e_config->show_cursor)
+ return EINA_TRUE;
+
ecore_evas_cursor_get(ptr->ee, &o, NULL, NULL, NULL);
if (o)
return EINA_FALSE;