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

[Xen-changelog] [xen-unstable] [qemu] Fix shift key for non-graphical vnc displays (like the monitor).



# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Date 1178804685 -3600
# Node ID 7da6d9c374bef063a12dd52c9817a6499fe83190
# Parent  8226c26cff4028d11f2ef8494712293361805d67
[qemu] Fix shift key for non-graphical vnc displays (like the monitor).

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 tools/ioemu/vnc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8226c26cff40 -r 7da6d9c374be tools/ioemu/vnc.c
--- a/tools/ioemu/vnc.c Thu May 10 13:57:13 2007 +0100
+++ b/tools/ioemu/vnc.c Thu May 10 14:44:45 2007 +0100
@@ -997,7 +997,7 @@ static void do_key_event(VncState *vs, i
 
 static void key_event(VncState *vs, int down, uint32_t sym)
 {
-    if (sym >= 'A' && sym <= 'Z')
+    if (sym >= 'A' && sym <= 'Z' && is_graphic_console())
        sym = sym - 'A' + 'a';
     do_key_event(vs, down, sym);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.