forked from enlightenment/enlightenment
XKBswitch gadget: Make sure to update the wayland keymap index.
Fixes T6321
This commit is contained in:
parent
1527599b78
commit
b90d8024fa
|
@ -519,5 +519,11 @@ _e_xkb_cb_lmenu_set(void *data, E_Menu *mn EINA_UNUSED, E_Menu_Item *mi EINA_UNU
|
|||
e_xkb_layout_set(cl);
|
||||
e_config_xkb_layout_free(e_config->xkb.sel_layout);
|
||||
e_config->xkb.sel_layout = e_config_xkb_layout_dup(cl);
|
||||
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
|
||||
#ifdef HAVE_WAYLAND
|
||||
e_comp_wl_input_keymap_index_set(cur_group);
|
||||
#else
|
||||
(void)cur_group;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -104,6 +104,12 @@ _xkbg_cb_menu_set(void *data, Evas_Object *obj, void *event_data EINA_UNUSED)
|
|||
e_xkb_layout_set(cl);
|
||||
e_config_xkb_layout_free(e_config->xkb.sel_layout);
|
||||
e_config->xkb.sel_layout = e_config_xkb_layout_dup(cl);
|
||||
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
|
||||
#ifdef HAVE_WAYLAND
|
||||
e_comp_wl_input_keymap_index_set(cur_group);
|
||||
#else
|
||||
(void)cur_group;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue