mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 23:30:48 +00:00
Set the isFunctionKey boolean correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25401 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7baadf2e7c
commit
6e69654253
2 changed files with 232 additions and 225 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-08-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSInputManager.m (-handleKeyboardEvents:client:): Set the
|
||||||
|
isFunctionKey boolean correctly. This was needed as the
|
||||||
|
NSFunctionKeyMask value doesn't fit in the first byte.
|
||||||
|
|
||||||
2007-08-19 21:18-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
2007-08-19 21:18-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/NSController.m
|
* Source/NSController.m
|
||||||
|
|
|
@ -498,7 +498,8 @@ static NSInputManager *currentInputManager = nil;
|
||||||
| NSAlternateKeyMask
|
| NSAlternateKeyMask
|
||||||
| NSControlKeyMask
|
| NSControlKeyMask
|
||||||
| NSNumericPadKeyMask);
|
| NSNumericPadKeyMask);
|
||||||
BOOL isFunctionKey = [theEvent modifierFlags] & NSFunctionKeyMask;
|
BOOL isFunctionKey = ([theEvent modifierFlags] & NSFunctionKeyMask)
|
||||||
|
== NSFunctionKeyMask;
|
||||||
|
|
||||||
if ([unmodifiedCharacters length] > 0)
|
if ([unmodifiedCharacters length] > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue