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:
c8ff431
)
Check a xkb state is a null pointer
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Mon, 27 Jun 2016 04:57:32 +0000
(13:57 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Wed, 29 Jun 2016 13:24:29 +0000
(22:24 +0900)
Change-Id: I8ae6036c3ee766b5963e4a977417e174a95989ba
src/bin/e_comp_wl_input.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_input.c
b/src/bin/e_comp_wl_input.c
index 1fbd289e172d5afd71f193490a37222bba567a85..4cf84905f95d954d3404d2de55bbc415c728a94e 100644
(file)
--- a/
src/bin/e_comp_wl_input.c
+++ b/
src/bin/e_comp_wl_input.c
@@
-434,6
+434,8
@@
_e_comp_wl_input_keymap_update(struct xkb_keymap *keymap, const char *keymap_pat
/* create a new xkb state */
e_comp_wl->xkb.state = xkb_state_new(keymap);
+ if (!e_comp_wl->xkb.state) return;
+
if ((latched) || (locked) || (group))
xkb_state_update_mask(e_comp_wl->xkb.state, 0,
latched, locked, 0, 0, group);