devilhorns pushed a commit to branch master.

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

commit 457f3c013c9fc7d3648b656b01b4c730d842be11
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Jul 23 11:01:31 2015 -0400

    wayland: fix key repeat
    
    Summary:
    wl_keyboard_send_repeat_info takes ints, not floats.  We were rounding to
    0 and weston-terminal didn't key repeat.
    
    fixes T2597
    
    Reviewers: devilhorns, zmike
    
    Subscribers: cedric
    
    Maniphest Tasks: T2597
    
    Differential Revision: https://phab.enlightenment.org/D2859
---
 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 e06c1bc..d3abbca 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -181,7 +181,7 @@ _e_comp_wl_input_cb_keyboard_get(struct wl_client *client, 
struct wl_resource *r
 
    /* FIXME: These values should be configurable */
    if (wl_resource_get_version(res) >= WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION)
-     wl_keyboard_send_repeat_info(res, 0.025, 0.4);
+     wl_keyboard_send_repeat_info(res, 25, 400);
 
    /* send current keymap */
    wl_keyboard_send_keymap(res, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1,

-- 


Reply via email to