[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Do only handle events that correspond to the VM window (#295)

Guille Polito notifications at github.com
Mon Oct 22 11:07:29 UTC 2018

While playing with SDL on OSX we have noticed that the main window in the VM is randomly eating events that belong to other windows. This happens because we are consuming events regardless the window they come from.

The corresponding code is in the method pumpRunLoopEventSendAndSignal: in

I've playing around with making the VM consume only events that come from its own window or from no window (window=null). This seems to work correctly, and I've had run into no issues in the last couple of hours.

I've put a guard so my code is only valid for PHAROVM builds, but I'd gladly remove the guards if people think this is a good move for all the community.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Do only handle events that correspond to the VM window

-- File Changes --

    M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m (18)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181022/a39b8292/attachment.html>

More information about the Vm-dev mailing list