CVS: rdesktop xkeymap.c,1.65,1.66
Michael Gernoth <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8833
Modified Files:
xkeymap.c
Log Message:
Don't send shift when CapsLock is on and Ctrl is pressed, too.
Fixes 858618 and 1069927
Index: xkeymap.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xkeymap.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** xkeymap.c 15 Jun 2004 22:17:08 -0000 1.65
--- xkeymap.c 23 Jan 2005 19:29:31 -0000 1.66
***************
*** 409,412 ****
--- 409,419 ----
}
+ if (((remote_modifier_state & MapLeftCtrlMask)
+ || (remote_modifier_state & MapRightCtrlMask)) && get_key_state(state, XK_Caps_Lock))
+ {
+ DEBUG_KBD(("CapsLock + Ctrl pressed, releasing LeftShift\n"));
+ tr.modifiers ^= MapLeftShiftMask;
+ }
+
if (tr.scancode != 0)
{
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl