discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=c4f31818956ee899202ca86dc3ba92960dea859c
commit c4f31818956ee899202ca86dc3ba92960dea859c Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Tue Sep 22 14:16:20 2015 -0400 only init E_EVENT_XKB_CHANGED during xkb init if xkb init hasn't already occurred allows xkb init to be called repeatedly --- src/bin/e_xkb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_xkb.c b/src/bin/e_xkb.c index e80e542..13d7b20 100644 --- a/src/bin/e_xkb.c +++ b/src/bin/e_xkb.c @@ -31,7 +31,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) --