Commit cbb59d17 authored by Samuel Thibault's avatar Samuel Thibault

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's avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Jean-Philippe MENGUAL's avatarJean-Philippe Mengual <jpmengual@hypra.fr>
parent 99a2cf1a
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment