devilhorns pushed a commit to branch master.

commit 21f267d007df2751d6c0df161e483d3e217faac1
Author: Chris Michael <[email protected]>
Date:   Wed Aug 14 14:01:35 2013 +0100

    Fix bug in shell which was causing wayland clients to always have
    input stuck in upper case if Shift was pressed than released.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/wl_desktop_shell/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 46e002a..6570531 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -1427,7 +1427,7 @@ _e_wl_shell_shell_surface_cb_key_up(void *data, 
Evas_Object *obj EINA_UNUSED, vo
                           WL_KEYBOARD_KEY_STATE_RELEASED);
 
    /* update xkb key state */
-   xkb_state_update_key(_e_wl_comp->input->xkb.state, key + 8, XKB_KEY_DOWN);
+   xkb_state_update_key(_e_wl_comp->input->xkb.state, key + 8, XKB_KEY_UP);
 
    /* update keyboard modifiers */
    serial = wl_display_get_serial(_e_wl_comp->wl.display);

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to