aboutsummaryrefslogtreecommitdiffstats
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
parentwayland: set min/max size hints to surface before show (diff)
downloadefl-60449b48dc0a8011baea66302ae210eb8b397f3b.tar.gz
efl-wl: use correct accessor method for keyboard resource hash
@fix
-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)
{
char *str;
Eina_Tmpstr *file;
- struct wl_resource *res;
+ Eina_List *l;
Eina_Iterator *it;
xkb_mod_mask_t latched = 0, locked = 0;
@@ -3587,8 +3587,13 @@ seat_keymap_update(Comp_Seat *s)
free(str);
it = eina_hash_iterator_data_new(s->kbd.resources);
- EINA_ITERATOR_FOREACH(it, res)
- wl_keyboard_send_keymap(res, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, s->kbd.keymap_fd, s->kbd.keymap_mem_size);
+ EINA_ITERATOR_FOREACH(it, l)
+ {
+ Eina_List *ll;
+ struct wl_resource *res;
+ EINA_LIST_FOREACH(l, ll, res)
+ wl_keyboard_send_keymap(res, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, s->kbd.keymap_fd, s->kbd.keymap_mem_size);
+ }
eina_iterator_free(it);
}