From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [7098] Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.
Date: Mon, 13 Apr 2009 13:29:41 +0000 [thread overview]
Message-ID: <E1LtMEG-0004Dz-UR@cvs.savannah.gnu.org> (raw)
Revision: 7098
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7098
Author: aliguori
Date: 2009-04-13 13:29:40 +0000 (Mon, 13 Apr 2009)
Log Message:
-----------
Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.
Newer Xorg use these with non-default kemaps (such as the ThinkPad keymap).
aliguori: this is from r7097 in trunk by balrog
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
branches/stable_0_10/sdl.c
Modified: branches/stable_0_10/sdl.c
===================================================================
--- branches/stable_0_10/sdl.c 2009-04-13 11:33:46 UTC (rev 7097)
+++ branches/stable_0_10/sdl.c 2009-04-13 13:29:40 UTC (rev 7098)
@@ -161,9 +161,9 @@
keycodes = XGetAtomName(info.info.x11.display, desc->names->keycodes);
if (keycodes == NULL)
fprintf(stderr, "could not lookup keycode name\n");
- else if (strstart(keycodes, "evdev_", NULL))
+ else if (strstart(keycodes, "evdev", NULL))
has_evdev = 1;
- else if (!strstart(keycodes, "xfree86_", NULL))
+ else if (!strstart(keycodes, "xfree86", NULL))
fprintf(stderr,
"unknown keycodes `%s', please report to qemu-devel@nongnu.org\n",
keycodes);
reply other threads:[~2009-04-13 13:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LtMEG-0004Dz-UR@cvs.savannah.gnu.org \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).