mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 08:51:03 +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
|
@ -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…
Add table
Add a link
Reference in a new issue