[racket] Focus

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sun Jan 11 13:04:06 EST 2015

2015-01-11 18:47 GMT+01:00 Matthew Flatt <mflatt at cs.utah.edu>:
> The `focus` method is supposed to work, but it looks like there's a
> problem with the Cocoa-backed implementation, which confuses "should
> the Tab key advance the focus to this window?" with "can this window
> have the focus?".

Ok.

> If it happens that you want Tab to move the keyboard focus among the
> canvases, then `(send c2 accept-tab-focus #t)` will work around the
> problem. Otherwise, you'll need a repair that I push sometime soon.

No worries - in the mean time, I'll just click at the relevant canvas first.

/Jens Axel

Posted on the users mailing list.