Commit Graph

7 Commits

Author SHA1 Message Date
Matthew Flatt
1185faa590 cocoa: adjust key events for empty Ctl- combos and special Option
In particular, restore key handling that makes Ctl-Space produce an
event with a Space character. Also, restore `special-option-key`
support, while correcting the documentation to say what
`special-option-key` and `special-control-key` actually do.

Closes PR 14934
2015-01-14 14:08:28 -07:00
Matthew Flatt
60611bc081 cocoa: fix focus method
Don't confuse "should the Tab key advance the focus to this window?"
with "can this window have the focus?".
2015-01-11 11:05:36 -07:00
Matthew Flatt
31231a6a8d narrow dependencies on Carbon
(reduced Carbon footprint?)
2015-01-09 08:37:38 -07:00
Jens Axel Søgaard
4dc47ef413 Compute other-key-codes
Use UCKeyTranslate to compute and store other-key-codes in the key-event.
2015-01-09 08:11:02 -07:00
Jens Axel Søgaard
fb0356d2fb Bindings for UCKeyTranslate
Bindings for UCKeyTranslate.
UCKeyTranslate converts a combination of a key-code, a modifier key state, keyboard layout and dead key state to a unicode string.
2015-01-09 08:11:01 -07:00
Matthew Flatt
de783c8378 avoid crashing via GCed racket/gui instance 2015-01-06 19:54:52 -07:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00