diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-06-07 23:35:33 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-06-07 23:39:22 +0200 |
commit | cbb59d1727cb1bfcff91b54fd55f4139e360b7ab (patch) | |
tree | bff084f0636eb42a17d42c108bcacb8d295fc6a6 /modules | |
parent | 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d (diff) |
Braille: Fix typing quickly
On finishing releasing Braille keys, we should clear the just-commited
pattern, to reset the state to initial state, and avoid having to wait for
0.3s before typing the next pattern.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/im/ximcp/imLcFlt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/im/ximcp/imLcFlt.c b/modules/im/ximcp/imLcFlt.c index a7060903..4dee0461 100644 --- a/modules/im/ximcp/imLcFlt.c +++ b/modules/im/ximcp/imLcFlt.c @@ -71,6 +71,7 @@ _XimLocalFilter(Display *d, Window w, XEvent *ev, XPointer client_data) keysym = XK_braille_blank | ic->private.local.brl_committing; ev->type = KeyPress; braille = True; + ic->private.local.brl_committing = 0; } else { return(True); } |