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:
Richard Frith-MacDonald 2006-12-08 09:09:40 +00:00
parent c4be026e77
commit 2f33c0b784
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> 2006-11-25 Matt Rice <ratmice@gmail.com>
* Source/art/ftfont.m (appendBezierPathWithGlyphs:count:toPath:): * Source/art/ftfont.m (appendBezierPathWithGlyphs:count:toPath:):

View file

@ -144,9 +144,10 @@
<term>Keyboard Modifiers</term> <term>Keyboard Modifiers</term>
<desc> <desc>
<p> <p>
The OPENstep specification requires 3 main different The OPENstep specification requires three main different
keyboard modifiers: <code>CONTROL</code>, 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 may not have these set up correctly. You can changed the defaults
with the default keys. with the default keys.
</p> </p>
@ -157,6 +158,8 @@
<item>GSSecondCommandKey</item> <item>GSSecondCommandKey</item>
<item>GSFirstAlternateKey</item> <item>GSFirstAlternateKey</item>
<item>GSSecondAlternateKey</item> <item>GSSecondAlternateKey</item>
<item>GSFirstHelpKey</item>
<item>GSSecondHelpKey</item>
</list> </list>
<p> <p>
Default values are respectively: Default values are respectively:
@ -168,6 +171,8 @@
<item>NoSymbol</item> <item>NoSymbol</item>
<item>Alt_R</item> <item>Alt_R</item>
<item>NoSymbol</item> <item>NoSymbol</item>
<item>Help</item>
<item>Super_L</item>
</list> </list>
<p> <p>
These strings correspond to "keysyms" on X11 systems. On X11, 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[0] = NoSymbol;
_help_keysyms[1] = key_sym_from_defaults(display, defaults, _help_keysyms[1] = key_sym_from_defaults(display, defaults,
@"GSSecondAlternateKey", @"GSSecondHelpKey",
XK_Super_L); XK_Super_L);
if (_help_keysyms[0] == _help_keysyms[1]) if (_help_keysyms[0] == _help_keysyms[1])