discard excessive (X11) autorepeat keyboard events if they overload LO

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 4 February 2015 08:44 UTC

If e.g. a document is slow to redraw, scrolling it by holding down a key such as PageDown can make LO lag behind and continue processing the queued up input events even (long) after the key has been released. Since with autorepeat keyboard events the normal user expectations are to hold it until something happens and the exact number of the events doesn't matter, simply discard excessive autorepeat keyboard events if LO can't keep up with them.

fc29d34 discard excessive (X11) autorepeat keyboard events if they overload LO
vcl/inc/unx/salframe.h | 1 -
vcl/unx/generic/window/salframe.cxx | 88 ++++++++++++++++++++++++-----------
2 files changed, 61 insertions(+), 28 deletions(-)

Upstream: cgit.freedesktop.org


  • Share