mutter/clutter
Rui Matos 1597b357a1 clutter/evdev: Dispatch libinput before generating key repeat events
Since both the libinput event source and the key repeat timer have the
same priority, the order in which both handlers are called is
arbitrary if both sources are ready on the same poll return. This
means that sometimes we generate key repeats when there's already a
real key event queued on libinput that would cancel the repeat timer
if only it was processed before.

One solution would be lowering the repeat timer source priority a
notch lower than the libinput source but that would mean that a steady
stream of events from libinput (e.g. pointer device motion) would
prevent any key repeats to happen.

Instead, we can fix this problem by trying to dispatch libinput from
the key repeat timer and checking if the timer source has been
destroyed before generating more key repeats.

https://bugzilla.gnome.org/show_bug.cgi?id=774989
2017-01-25 13:07:48 +01:00
..
build move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
clutter clutter/evdev: Dispatch libinput before generating key repeat events 2017-01-25 13:07:48 +01:00
examples move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
tests build: Fix cogl include paths of tests 2016-11-23 23:12:55 +01:00
.gitignore clutter: Remove clutter-build-config.h.in 2016-07-20 14:23:48 +08:00
configure.ac clutter/x11: Implement XTest-based ClutterVirtualInputDevice 2016-11-04 21:25:31 +01:00
Makefile.am move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00