Alt-Key not working on Linux

I’ve spent some time fixing this. The root problem is indeed how the Modifier mask for the alt key is determined. The code is wrong.

Attached is a patch that fixes the problem.

JUCE_alt_key_windows.txt (1.9 KB)

cheers,
Thomas