e09562d587
- Drop 32bit support from spec file - Dropped 520d417d-xen-Add-stdbool.h-workaround-for-BSD.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=282
17 lines
632 B
Diff
17 lines
632 B
Diff
Index: xen-4.2.0-testing/tools/qemu-xen-traditional-dir-remote/vnc.c
|
|
===================================================================
|
|
--- xen-4.2.0-testing.orig/tools/qemu-xen-traditional-dir-remote/vnc.c
|
|
+++ xen-4.2.0-testing/tools/qemu-xen-traditional-dir-remote/vnc.c
|
|
@@ -1329,6 +1329,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);
|