Improve help key support

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-12-08 09:09:40 +00:00
parent 784b2515a3
commit f202c1e114
3 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2006-12-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/x11/XGServerEvent.m: Fix incorrect setting for second help
key.
* Documentation/Back/DefaultsSummary.gsdoc: Document mappings of
X keys to help keys.
2006-11-25 Matt Rice <ratmice@gmail.com>
* Source/art/ftfont.m (appendBezierPathWithGlyphs:count:toPath:):

View file

@ -144,9 +144,10 @@
<term>Keyboard Modifiers</term>
<desc>
<p>
The OPENstep specification requires 3 main different
The OPENstep specification requires three main different
keyboard modifiers: <code>CONTROL</code>,
<code>COMMAND</code> and <code>ALTERNATE</code>. Some systems
<code>COMMAND</code> and <code>ALTERNATE</code> as well as
the <code>HELP</code> modifier for context help. Some systems
may not have these set up correctly. You can changed the defaults
with the default keys.
</p>
@ -157,6 +158,8 @@
<item>GSSecondCommandKey</item>
<item>GSFirstAlternateKey</item>
<item>GSSecondAlternateKey</item>
<item>GSFirstHelpKey</item>
<item>GSSecondHelpKey</item>
</list>
<p>
Default values are respectively:
@ -168,6 +171,8 @@
<item>NoSymbol</item>
<item>Alt_R</item>
<item>NoSymbol</item>
<item>Help</item>
<item>Super_L</item>
</list>
<p>
These strings correspond to "keysyms" on X11 systems. On X11,

View file

@ -1678,7 +1678,7 @@ initialize_keyboard (void)
_help_keysyms[0] = NoSymbol;
_help_keysyms[1] = key_sym_from_defaults(display, defaults,
@"GSSecondAlternateKey",
@"GSSecondHelpKey",
XK_Super_L);
if (_help_keysyms[0] == _help_keysyms[1])