mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 09:48:04 +02:00
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>
This commit is contained in:
parent
99a2cf1aa0
commit
cbb59d1727
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ _XimLocalFilter(Display *d, Window w, XEvent *ev, XPointer client_data)
|
||||||
keysym = XK_braille_blank | ic->private.local.brl_committing;
|
keysym = XK_braille_blank | ic->private.local.brl_committing;
|
||||||
ev->type = KeyPress;
|
ev->type = KeyPress;
|
||||||
braille = True;
|
braille = True;
|
||||||
|
ic->private.local.brl_committing = 0;
|
||||||
} else {
|
} else {
|
||||||
return(True);
|
return(True);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue