From: Enrik Berkhan Enrik.Berkhan@inka.de
I'm happily using AllChars like I'm using the compose key feature on X11.
One problem is that AllChars doesn't work with X11 windows on Windows: the injected keys are not understood properly. I don't know why, most probably X11 servers like Xming can only handle 'raw' keyboard events.
One (annoying) solution is to use different HotKeys/compose keys for windows and X11.
So I thought it would be helpful to be able to disable AllChars based on the window class name of a Windows window as all X11 windows on Windows happen to have the same class name, at least with Xming ("Xming X").
Find attached a proof of concept (diff against SVN 176) that implements this feature, harcoded for "Xming X".
Enrik
Anonymous
proof-of-concept patch
Thanks a ton for the patch!
I've incorporated the patch and added a configuration mechanism.
In %AppData%\AllChars.xml, you can now have a new element like this:
<allchars>
...
<ignore>
<windowclass>Xming X</windowclass>
<windowclass>otherClassToIgnore</windowclass>
...
</ignore>
...
</allchars>
AllChars will then ignore the HotKey when the class of the active window matches one of the strings given in this AllChars.xml element.
This enhancement will be available with the next release.