xen/capslock_enable.patch
Charles Arnold 42c5e53074 - bnc#591799 - The status of Caps Lock is incorrect in domU
capslock_enable.patch

- bnc#607219 - AMD Erratum 383 workaround for Xen
  21408-amd-erratum-383.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=51
2010-05-25 16:28:20 +00:00

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);