qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Draft patch to permit use of Meta for SDL QEMU GUI


From: Drake Wilson
Subject: [Qemu-devel] Draft patch to permit use of Meta for SDL QEMU GUI
Date: Wed, 6 Aug 2008 11:54:51 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Hello, qemu-devel!

I use QEMU to run virtual machines on a Debian GNU/Linux machine with
AMD64 PC-class hardware.  My X keyboard configuration uses Meta
instead of Alt; even though I have a PC-style keyboard whose keys are
labeled Alt, they are assigned to the Meta keysyms.  I don't believe
this to be unusual.  Unfortunately, it makes it impossible to release
QEMU input grabs, which is likely related to the Debian bug report at
< http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398351 >.

I've drafted a patch for QEMU's SDL interface to allow the use of
either Alt or Meta.  This appears to work when applied against either
Debianized QEMU 0.9.1 or raw QEMU SVN trunk (r4988) on my machine.
There may be bogosities that I have not noticed, since although it is
a localized change, I have not extensively read the QEMU source code.
This patch is attached in unified diff format, applyable with -p0.

(For those of you reading from the Debian bug, this is slightly
different than my previous posting there, because I noticed that I had
created a few redundant whitespace-changes-only hunks by mistake,
which I have now removed.)

Comments are appreciated from any related source.  Thanks for your
attention.  :-)

   ---> Drake Wilson

Attachment: qemu-gui-meta-is-also-alt-2.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]