Files
glfw/src
Camilla Löwy 606c0fc03e X11: Fix detection of key events duplicated by XIM
Background: The IM will filter out key events, instead sending exact
duplicate events that are not filtered.  It does not send these for
every event, however, so the duplicate events cannot be relied on for
key input.  Instead we need to identify and discard them.  Since they
are identical, they have the same timestamp as the originals.

The previous duplicate event detection would consume unrelated key
events if the keys were pressed simultaneously, as it only tracked
a single timestamp.

This fixes that issue for any combination of keys, at the expense of
a 1 KB array per GLFW window.

This fix is a stopgap until explicit IME support is done.

Based on #1472 by @LucaRood.

Fixes #1112.
Fixes #1415.
Fixes #1616.
Fixes #1663.
Closes #1472.

(cherry picked from commit 9a3664b4a9)
2020-07-16 13:30:39 +02:00
..
2019-11-05 17:59:15 +01:00
2019-07-16 14:38:14 +02:00
2019-05-27 16:34:23 +02:00
2019-07-16 14:38:14 +02:00
2019-04-15 20:50:00 +02:00
2019-11-05 17:59:15 +01:00
2019-11-05 17:59:15 +01:00
2019-04-15 20:50:00 +02:00
2019-04-15 20:50:00 +02:00
2019-05-27 16:34:23 +02:00
2020-02-13 22:02:23 +01:00
2019-09-23 15:27:17 +02:00
2019-11-05 17:59:15 +01:00
2019-07-16 14:39:19 +02:00
2020-06-02 19:01:09 +02:00
2020-06-30 17:09:55 +02:00