[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Win32 Events when using SDL (#358)

Pablo Tesone notifications at github.com
Tue Jan 22 15:28:00 UTC 2019


When used with SDL, the events in the main VM windows are not properly handled.

SDL has its own GetMessage / DispatchMessage loop.
The VM implementation was expecting to have a pointer to the message read from GetMessage. Stored in the variable lastMessage.
This variable is Null when the GetMessage is executed by SDL.
So, I have modified the process to recreate the MSG from the information provided by the Window Callback Arguments.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/358

-- Commit Summary --

  * When used with SDL, the events in the main VM windows are not properly handled.

-- File Changes --

    M platforms/win32/vm/sqWin32Window.c (57)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/358.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/358.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/358
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190122/b5d32e2c/attachment.html>


More information about the Vm-dev mailing list