summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-25 16:31:11 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-02 13:41:05 -0500
commitf4179c1b270df8c0e5a8b369d7461be168f28b46 (patch)
treeecdc785c63cd54c98b08e120c8ffa79b1b3596a9
parentc111cf74558801d0a6e37c5bfa2379609219bf3c (diff)
update xkb.cur_group and send event upon serializing an EFFECTIVE layout in wl input
according to xkbcommon, the group returned from serializing the EFFECTIVE layout is the one which is currently active. this array index should match up with the list used in the xkb part of E_Config
-rw-r--r--src/bin/e_comp_wl_input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index 90c7c1f39..44ec56f46 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -516,6 +516,11 @@ e_comp_wl_input_keyboard_modifiers_serialize(void)
516 516
517 grp = xkb_state_serialize_layout(e_comp_wl->xkb.state, 517 grp = xkb_state_serialize_layout(e_comp_wl->xkb.state,
518 XKB_STATE_LAYOUT_EFFECTIVE); 518 XKB_STATE_LAYOUT_EFFECTIVE);
519 if (grp != e_comp_wl->kbd.mod_group)
520 {
521 e_config->xkb.cur_group = grp;
522 ecore_event_add(E_EVENT_XKB_CHANGED, NULL, NULL, NULL);
523 }
519 changed |= grp != e_comp_wl->kbd.mod_group; 524 changed |= grp != e_comp_wl->kbd.mod_group;
520 e_comp_wl->kbd.mod_group = grp; 525 e_comp_wl->kbd.mod_group = grp;
521 return changed; 526 return changed;