projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbb6bf
)
ecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_wi...
11/59611/1
accepted/tizen/mobile/20160217.075941
accepted/tizen/tv/20160217.075957
accepted/tizen/wearable/20160217.080019
submit/tizen/20160217.021033
submit/tizen_common/20160217.021620
submit/tizen_common/20160217.024839
author
Sung-Jin Park
<input.hacker@gmail.com>
Wed, 17 Feb 2016 01:57:42 +0000
(10:57 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Wed, 17 Feb 2016 01:58:48 +0000
(10:58 +0900)
Change-Id: I456fd5fe8ad4c26cdaa90987eac1f456e856ff78
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/lib/ecore_wayland/ecore_wl.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wayland/ecore_wl.c
b/src/lib/ecore_wayland/ecore_wl.c
index
c9dd18b
..
80f0a2b
100644
(file)
--- a/
src/lib/ecore_wayland/ecore_wl.c
+++ b/
src/lib/ecore_wayland/ecore_wl.c
@@
-1119,6
+1119,7
@@
ecore_wl_window_keygrab_set(Ecore_Wl_Window *win, const char *key, int mod EINA_
LOGFN(__FILE__, __LINE__, __FUNCTION__);
+ if ((!_ecore_wl_disp) || (!_ecore_wl_disp->wl.keyrouter)) return EINA_FALSE;
if (!key) return EINA_FALSE;
if ((grab_mode < ECORE_WL_WINDOW_KEYGRAB_UNKNOWN) || (grab_mode > ECORE_WL_WINDOW_KEYGRAB_EXCLUSIVE))
return EINA_FALSE;