qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7097] Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.
@ 2009-04-13 11:33 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2009-04-13 11:33 UTC (permalink / raw)
  To: qemu-devel

Revision: 7097
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7097
Author:   balrog
Date:     2009-04-13 11:33:46 +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).

Modified Paths:
--------------
    trunk/sdl.c

Modified: trunk/sdl.c
===================================================================
--- trunk/sdl.c	2009-04-13 08:53:12 UTC (rev 7096)
+++ trunk/sdl.c	2009-04-13 11:33:46 UTC (rev 7097)
@@ -251,9 +251,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 11:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 11:33 [Qemu-devel] [7097] Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names Andrzej Zaborowski

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).