From: <no...@so...> - 2001-11-13 14:53:35
|
Patches item #481308, was opened at 2001-11-13 06:53 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=312997&aid=481308&group_id=12997 Category: 30. Key Symbols Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tobias Fengler (tfengler) Assigned to: Jeffrey Hobbs (hobbs) Summary: Fix for Bug 229038 numerals pad solaris Initial Comment: on Sun Solaris machines the numerals pad generates problems when there is a bind on the arrow-keys. In en entry-widget, the 4 and 6 numerals dont work, in a text-widget the 4,6,2 and 8 numerals. The problem is, that the "Numlock-Key" has the same effect as the "Mode-Key", but affects only the keys of the numerals pad. As a consequence, the third or fourth slot of the keymap-vector must be used, not the first and second. When the first two vectors are used, XKeycodeToKeysym always produces the keysyms for the arrow key's and then the binding of the arrow-keys is taken and not the numeral istself. When there is no bind on the arrow-keys, the keys of the numerals pad work fine, because the function XmbLookupString takes the keycode and the state of the mode-switches. I tested my patch on a sun solaris machine with solaris 2.7. I hope it works also with linux. I attach a patch for the following files generic/tkInt.h Version 1.40 unix/tkUnixKey.c Version 1.5 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=312997&aid=481308&group_id=12997 |