[Linux] How to deal with keyboard event

Hi,

I wonder what is the correct way to deal with keyboard events on Linux.

Should the plugin forward unhandled events to the parent window?

Should the DAW intercept all events and then decide which one to forward to the plugin? If so, should it happen using the vst3 interfaces or by forwarding the X11 events directly?

Many thanks,
Alexandre

Hi,
I’m not very familiar with X11 but if forwarding events work, then the plug-in editor should handle keyboard events if it has focus. If a keystroke is not consumed by it, then it should forward the event to the parent window. If forwarding events doesn’t work, then the host should handle all this.

Cheers,
Arne