mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
* Source/x11/XGServerEvent.m: Make the GSModifiersAreKeys
default to YES, by renaming the default to GSModifiersAreNotKeys. This should fix bug 25659; for example, in Ink you can now open the color panel with <Shift>+<Alt>+c or <Alt>+<Shift>+c. * Documentation/Back/DefaultsSummary.gsdoc: Update docs for GSModifiersAreNotKeys. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34984 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ed09dba77f
commit
091480978b
3 changed files with 21 additions and 6 deletions
|
@ -1,3 +1,12 @@
|
|||
2012-03-22 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/x11/XGServerEvent.m: Make the GSModifiersAreKeys
|
||||
default to YES, by renaming the default to GSModifiersAreNotKeys.
|
||||
This should fix bug 25659; for example, in Ink you can now
|
||||
open the color panel with <Shift>+<Alt>+c or <Alt>+<Shift>+c.
|
||||
* Documentation/Back/DefaultsSummary.gsdoc: Update docs for
|
||||
GSModifiersAreNotKeys.
|
||||
|
||||
2012-02-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m: Set the filter to BILINEAR for all
|
||||
|
|
|
@ -186,7 +186,7 @@
|
|||
keyboard setup</uref>.
|
||||
</p>
|
||||
</desc>
|
||||
<term>GSModifiersAreKeys</term>
|
||||
<term>GSModifiersAreNotKeys</term>
|
||||
<desc>
|
||||
<p>
|
||||
On some keyboards, the default X11 mapping includes keycodes that
|
||||
|
@ -200,9 +200,15 @@
|
|||
occur when trying to use the modifier in conjunction with a shifted
|
||||
character. In particular, you will need to hit and release the
|
||||
modifier and the shift key in a particular order, or else things
|
||||
will not work as expected, and the modifier may become "stuck". If
|
||||
you experience such a problem, set <code>GSModifiersAreKeys</code>
|
||||
to <code>YES</code>.
|
||||
will not work as expected, and the modifier may become "stuck".
|
||||
</p>
|
||||
<p>
|
||||
Previously this default was called <code>GSModifiersAreKeys</code>,
|
||||
and Shift+Alt key equivalents only worked if Shift and Alt were
|
||||
pressed in the right order, unless the default was set to
|
||||
<code>YES</code>. That is now the default; to get back the
|
||||
previous default behaviour, set
|
||||
<code>GSModifiersAreNotKeys</code> to <code>YES</code>.
|
||||
</p>
|
||||
</desc>
|
||||
<term>UseWindowMakerIcons</term>
|
||||
|
|
|
@ -1934,7 +1934,7 @@ initialize_keyboard (void)
|
|||
|
||||
|
||||
set_up_num_lock ();
|
||||
_mod_ignore_shift = [defaults boolForKey: @"GSModifiersAreKeys"];
|
||||
_mod_ignore_shift = ![defaults boolForKey: @"GSModifiersAreNotKeys"];
|
||||
|
||||
_is_keyboard_initialized = YES;
|
||||
}
|
||||
|
@ -2050,7 +2050,7 @@ process_key_event (XEvent* xEvent, XGServer* context, NSEventType eventType,
|
|||
XIM events can potentially return this. */
|
||||
/* Possibly ignore shift/other modifier state in determining KeySym to
|
||||
work around correct but undesired behavior with shifted modifiers.
|
||||
See Back defaults documentation for "GSModifiersAreKeys". */
|
||||
See Back defaults documentation for "GSModifiersAreNotKeys". */
|
||||
modKeysym = (_mod_ignore_shift == YES) ?
|
||||
XLookupKeysym((XKeyEvent *)xEvent, 0) : keysym;
|
||||
if (modKeysym != NoSymbol)
|
||||
|
|
Loading…
Reference in a new issue