aboutsummaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-13 11:33:46 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-13 11:33:46 +0000
commitbb0574fe2bb1781d0afc1c1ad26df68a4d30d5ea (patch)
tree2d796372475b09f5fa346174a9e4309519f7557d /sdl.c
parent867abc7e50500178423799f28179efef73f3f1b3 (diff)
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). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7097 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl.c b/sdl.c
index 0601b16d3f..03d3ab887a 100644
--- a/sdl.c
+++ b/sdl.c
@@ -251,9 +251,9 @@ static int check_for_evdev(void)
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);