discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fea72d5fcdd56804b93e4f719aff1ca3a02371ca

commit fea72d5fcdd56804b93e4f719aff1ca3a02371ca
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Jul 28 17:12:57 2015 -0400

    wayland: Only send keyboard modifiers to focused resources
    
    Summary: We were sending them to anything that bound a wl_keyboard.
    
    Reviewers: zmike
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2879
---
 src/bin/e_comp_wl_input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index d3abbca..6acd78d 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -528,7 +528,7 @@ e_comp_wl_input_keyboard_modifiers_update(void)
    if (!e_comp->wl_comp_data->kbd.focused) return;
 
    serial = wl_display_next_serial(e_comp->wl_comp_data->wl.disp);
-   EINA_LIST_FOREACH(e_comp->wl_comp_data->kbd.resources, l, res)
+   EINA_LIST_FOREACH(e_comp->wl_comp_data->kbd.focused, l, res)
      wl_keyboard_send_modifiers(res, serial,
                                 e_comp->wl_comp_data->kbd.mod_depressed,
                                 e_comp->wl_comp_data->kbd.mod_latched,

-- 


Reply via email to