debian/changelog | 7 +++++++ src/evdev.c | 4 ++++ 2 files changed, 11 insertions(+)
New commits: commit e0ed1d91bdbd6c11a29ce05b68d8c03440b2a027 Author: Timo Aaltonen <[EMAIL PROTECTED]> Date: Fri Oct 17 09:45:44 2008 +0300 Update the changelog for release. diff --git a/debian/changelog b/debian/changelog index 69f54fe..b35a808 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xserver-xorg-input-evdev (1:2.0.99+git20080912-0ubuntu4) intrepid; urgency=low + + * Cherry-pick commit 7243116f from upstream, "Don't post keycodes > 255." + (LP: #274203) + + -- Timo Aaltonen <[EMAIL PROTECTED]> Thu, 16 Oct 2008 17:37:04 +0300 + xserver-xorg-input-evdev (1:2.0.99+git20080912-0ubuntu3) intrepid; urgency=low * Merged with upstream master, commit 84a0e39c0dd, "Use new property API" commit 607522ce39819375349c6b54b4188c36296656ce Author: Peter Hutterer <[EMAIL PROTECTED]> Date: Thu Oct 16 22:35:42 2008 +1030 Don't post keycodes > 255. If we only have keys > 255 we don't set up a key class rec, so don't post them. It makes the server unhappy. Signed-off-by: Julien Cristau <[EMAIL PROTECTED]> diff --git a/src/evdev.c b/src/evdev.c index b3cf942..a59e36a 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -171,6 +171,10 @@ PostKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value) warned[ev->code] = 1; } + /* The X server can't handle keycodes > 255 anyway, just drop them. */ + if (code > 255) + return; + xf86PostKeyboardEvent(pInfo->dev, code, value); } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]