|
Hi,
We get JOGL source code, and in order to don't have conflit on Event, try to desactivate Event for Newt.
So we keep event as usual, and we don't need to convert them.
Our modification : On X11Window.c on createWindow0, we add a boolean parameter (ignoreEvent) and if true, on xswa.event_mask, we don't put X11_MOUSE_EVENT_MASK and KeyPressMask and KeyReleaseMask.
It works for Dnd and it also bypass Newt mouse and key event. So we could keep our code without modifying all mouse and key function (it's better if we have thousands of code lines).
If I want to contribute to JOGL by pushing this code : how to do that ?
I'm not an expert on JOGL, so I don't know if it's my modification broke the code on other part of JOGL : how to know if it's correct for you ?
For now this modification is only for X11 : Windows and OSX is needeed ?
Jérémy
|