60fee70571
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=55b9cda496deba4d219bfb38823f905d
16 lines
487 B
Diff
16 lines
487 B
Diff
diff -r c2f19aa8a584 tools/ioemu-remote/vnc.c
|
|
--- a/tools/ioemu-remote/vnc.c Wed Apr 07 11:13:49 2010 +0800
|
|
+++ b/tools/ioemu-remote/vnc.c Mon May 24 13:56:22 2010 +0800
|
|
@@ -1326,6 +1326,11 @@
|
|
}
|
|
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);
|