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:
10ba661
)
ecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_wi...
02/60602/1
accepted/tizen/common/20160302.193340
accepted/tizen/ivi/20160302.003030
accepted/tizen/mobile/20160302.002944
accepted/tizen/tv/20160302.002958
accepted/tizen/wearable/20160302.003015
submit/tizen/20160229.081932
author
Ji-Youn Park
<jy0703.park@samsung.com>
Mon, 29 Feb 2016 07:50:59 +0000
(16:20 +0830)
committer
Ji-Youn Park
<jy0703.park@samsung.com>
Mon, 29 Feb 2016 07:51:05 +0000
(16:21 +0830)
Change-Id: I6fa198cae8dec760b1f797d7dd0f7f07edce13fa
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
75de2c6
..
e5d535f
100644
(file)
--- a/
src/lib/ecore_wayland/ecore_wl.c
+++ b/
src/lib/ecore_wayland/ecore_wl.c
@@
-1228,6
+1228,7
@@
ecore_wl_window_keygrab_unset(Ecore_Wl_Window *win, const char *key, int mod EIN
LOGFN(__FILE__, __LINE__, __FUNCTION__);
+ if ((!_ecore_wl_disp) || (!_ecore_wl_disp->wl.keyrouter)) return EINA_FALSE;
if (!key) return EINA_FALSE;
INF("win=%p key=%s ", win, key);
@@
-1239,7
+1240,7
@@
ecore_wl_window_keygrab_unset(Ecore_Wl_Window *win, const char *key, int mod EIN
}
//We have to find the way to get keycode from keysym before keymap notify
- if (
_ecore_wl_disp->input->xkb.keymap
)
+ if (
(_ecore_wl_disp->input) && (_ecore_wl_disp->input->xkb.keymap)
)
num_keycodes = ecore_wl_keycode_from_keysym(_ecore_wl_disp->input->xkb.keymap, keysym, &keycodes);
else
{