summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:43:15 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:43:13 -0400
commit60449b48dc0a8011baea66302ae210eb8b397f3b (patch)
treed9dc47b54c2648fbf2d2530ba4500ed44f79d5d3 /src/lib/efl_wl
parent5ffb7d423cbf89a1f738492a77417b9578b1d37a (diff)
efl-wl: use correct accessor method for keyboard resource hash
@fix
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 213d295a66..c99433c682 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -3531,7 +3531,7 @@ seat_keymap_update(Comp_Seat *s)
3531{ 3531{
3532 char *str; 3532 char *str;
3533 Eina_Tmpstr *file; 3533 Eina_Tmpstr *file;
3534 struct wl_resource *res; 3534 Eina_List *l;
3535 Eina_Iterator *it; 3535 Eina_Iterator *it;
3536 xkb_mod_mask_t latched = 0, locked = 0; 3536 xkb_mod_mask_t latched = 0, locked = 0;
3537 3537
@@ -3587,8 +3587,13 @@ seat_keymap_update(Comp_Seat *s)
3587 free(str); 3587 free(str);
3588 3588
3589 it = eina_hash_iterator_data_new(s->kbd.resources); 3589 it = eina_hash_iterator_data_new(s->kbd.resources);
3590 EINA_ITERATOR_FOREACH(it, res) 3590 EINA_ITERATOR_FOREACH(it, l)
3591 wl_keyboard_send_keymap(res, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, s->kbd.keymap_fd, s->kbd.keymap_mem_size); 3591 {
3592 Eina_List *ll;
3593 struct wl_resource *res;
3594 EINA_LIST_FOREACH(l, ll, res)
3595 wl_keyboard_send_keymap(res, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, s->kbd.keymap_fd, s->kbd.keymap_mem_size);
3596 }
3592 eina_iterator_free(it); 3597 eina_iterator_free(it);
3593} 3598}
3594 3599