163148b426
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=87c8ac43897718b61dbcbca0296d6c2a
17 lines
581 B
Diff
17 lines
581 B
Diff
Index: xen-4.0.1-testing/tools/ioemu-qemu-xen/vnc.c
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/tools/ioemu-qemu-xen/vnc.c
|
|
+++ xen-4.0.1-testing/tools/ioemu-qemu-xen/vnc.c
|
|
@@ -1344,6 +1344,11 @@ static void do_key_event(VncState *vs, i
|
|
}
|
|
break;
|
|
case 0x3a: /* CapsLock */
|
|
+ if(!down){
|
|
+ vs->modifiers_state[keycode] ^= 1;
|
|
+ kbd_put_keycode(keycode | 0x80);
|
|
+ }
|
|
+ return;
|
|
case 0x45: /* NumLock */
|
|
if (down) {
|
|
kbd_put_keycode(keycode & 0x7f);
|