[Cuis-dev] Spacewar game broken

Luciano Notarfrancesco luchiano at gmail.com
Thu Jun 4 02:39:02 PDT 2026


Ok, but you dont need to send newKeyboardFocus: and
releaseKeyboardFocusIf:, I think it would be confusing for someone using
this example to learn about Morphic in Cuis. You dont need to do anything
special to handle keyboard events and keyboard focus, just implement
keyStroke:.

On Thu, Jun 4, 2026 at 16:19 Hilaire Fernandes <hfern at free.fr> wrote:

> This issue does not show up in the stock image, but after an error
> (debugger) in the morph event loop.
>
> I observed it again yesterday when running the game and an error in mouse
> leave method because of the deprecated releaseKeyboardFocus:; replaced by releaseKeyboardFocusIf:,
> strange renamed btw.
>
> I already fixed the game and update the book.
>
> Thanks
>
> -- http://mamot.fr/@drgeo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260604/02886bde/attachment.htm>


More information about the Cuis-dev mailing list