clutter/evdev: ignore injected events from IM
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 17 Apr 2018 11:32:21 +0000 (13:32 +0200)
committerSimon McVittie <smcv@debian.org>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commit86a9039bccf3cb6d90b68435af21dd11b3c8cf6c
treeee4bca3c00c17436367df71da1a9c571b1833277
parente956b58c952ded326915ab02f272bb838c1ef6a0
clutter/evdev: ignore injected events from IM

Input method can inject key events, which leads to multiple reported key
press/release events for a single user action.

Ignore those events as this confuses keyboard accessibility.

(cherry picked from commit c01b099dbdfee4b2a98864bc76bfa1b96a55c8fb)

Origin: upstream, 3.28.3, commit:c7a38c31398871d2461b66963756816d268f524e

Gbp-Pq: Name clutter-evdev-ignore-injected-events-from-IM.patch
clutter/clutter/evdev/clutter-input-device-evdev.c