[Vm-dev] Fix on management of events in OSX

Guillermo Polito guillermopolito at gmail.com
Mon Oct 22 10:31:53 UTC 2018

Hi all,

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 also prepared a PR with the associated changes in here:
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181022/cb8c7e7d/attachment.html>

More information about the Vm-dev mailing list