bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25397] Inconsistency in handling Alt Gr key


From: Wolfgang Lux
Subject: [bug #25397] Inconsistency in handling Alt Gr key
Date: Wed, 28 Jan 2009 21:47:37 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US) AppleWebKit/525.18 (KHTML, like Gecko, Safari/525.20) OmniWeb/v622.3.0.105198

Follow-up Comment #3, bug #25397 (project gnustep):

Since AltGr is not part of the OpenStep/Cocoa API, I see two possible options
here:
1) Just ignore that AltGr key is pressed
2) Set NSAlternateKeyMask
I'm not really sure about what is the better approach here. It looks like
Apple and NeXT did follow the latter approach (however, having no running
OpenStep or Rhapsody for Windows at hand, I cannot really prove this, it is
just what I read from the OpenStep documentation and Apple's older AppKit
release notes).
However, setting NSControlKeyMask definitely looks wrong to me. After
googling for VK_CONTROL a bit, it seems that Windows does indeed send that
modifier (for whatever reason). Maybe setting NSControlKeyMask only when
VK_LCONTROL or VK_RCONTROL is set is an option.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25397>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]