Hi,
This weekend I cleaned some Pharo code referencing a class removed from Pharo since 2013 (HostSystemMenus).
From what I understood, there is a special event the VM can send only in
OSX representing an EventTypeMenu event with a constant code of 4.
For now I kept some guards in the code of the InputEventSensor class in case Pharo receive this kind of event, but I am not sure the VM still sent them.
Does someone knows if the VM can still send EventTypeMenu events?
I do not know if event type 4 is still produced, but it was introduced in the Mac OS VM, and there is in explanation in platforms/vm/Documentation/3.8.x Release Notes.rtf:
sq.h Added events, EventTypeMenu, EventTypeWindow to handle menu and window events generated by the Host OS and placed on the Squeak Event Queue to be read by EventSensor
Dave
On Mon, Jun 11, 2018 at 11:30:59AM -0400, Cyril Ferlicot D wrote:
Hi,
This weekend I cleaned some Pharo code referencing a class removed from Pharo since 2013 (HostSystemMenus).
From what I understood, there is a special event the VM can send only in OSX representing an EventTypeMenu event with a constant code of 4.
For now I kept some guards in the code of the InputEventSensor class in case Pharo receive this kind of event, but I am not sure the VM still sent them.
Does someone knows if the VM can still send EventTypeMenu events?
-- Cyril Ferlicot https://ferlicot.fr
vm-dev@lists.squeakfoundation.org