ia64/xen-unstable

changeset 15066:7da6d9c374be

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

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Thu May 10 14:44:45 2007 +0100 (2007-05-10)
parents 8226c26cff40
children 52a8d6387725
files tools/ioemu/vnc.c
line diff
     1.1 --- a/tools/ioemu/vnc.c	Thu May 10 13:57:13 2007 +0100
     1.2 +++ b/tools/ioemu/vnc.c	Thu May 10 14:44:45 2007 +0100
     1.3 @@ -997,7 +997,7 @@ static void do_key_event(VncState *vs, i
     1.4  
     1.5  static void key_event(VncState *vs, int down, uint32_t sym)
     1.6  {
     1.7 -    if (sym >= 'A' && sym <= 'Z')
     1.8 +    if (sym >= 'A' && sym <= 'Z' && is_graphic_console())
     1.9  	sym = sym - 'A' + 'a';
    1.10      do_key_event(vs, down, sym);
    1.11  }