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:
81ea29a
)
only init E_EVENT_XKB_CHANGED during xkb init if xkb init hasn't already occurred
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 22 Sep 2015 18:16:20 +0000
(14:16 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 22 Sep 2015 18:16:20 +0000
(14:16 -0400)
allows xkb init to be called repeatedly
src/bin/e_xkb.c
patch
|
blob
|
history
diff --git
a/src/bin/e_xkb.c
b/src/bin/e_xkb.c
index
24583fd
..
7c21221
100644
(file)
--- a/
src/bin/e_xkb.c
+++ b/
src/bin/e_xkb.c
@@
-32,7
+32,8
@@
_e_xkb_init_timer(void *data)
E_API int
e_xkb_init(void)
{
- E_EVENT_XKB_CHANGED = ecore_event_type_new();
+ if (!E_EVENT_XKB_CHANGED)
+ E_EVENT_XKB_CHANGED = ecore_event_type_new();
if (e_config->xkb.dont_touch_my_damn_keyboard) return 1;
e_xkb_update(-1);
if (e_config->xkb.cur_layout)