Donate Share

AllChars

Tracker: Feature Requests

5 Disable AllChars based on window class name - ID: 2213864
Last Update: Comment added ( jmbreuer )

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


Nobody/Anonymous ( nobody ) - 2008-11-01 11:44

5

Open

None

Joachim Breuer

AllChars Improvements

v5

Public


Comment ( 1 )




Date: 2009-02-12 14:13
Sender: jmbreuerProject Admin

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.



Log in to comment.

Attached File ( 1 )

Filename Description Download
AllChars_skip_for_distinct_class_name.patch proof-of-concept patch Download

Change ( 1 )

Field Old Value Date By
File Added 299747: AllChars_skip_for_distinct_class_name.patch 2008-11-01 11:44 nobody