* [Qemu-devel] [7098] Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.
@ 2009-04-13 13:29 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-04-13 13:29 UTC (permalink / raw)
To: qemu-devel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-13 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 13:29 [Qemu-devel] [7098] Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names Anthony Liguori
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).