xkeysnail
xkeysnail copied to clipboard
Please do not ignore process name
Hi, thanks for your software.
In some cases, I need to know the process name, which was ignored by get_activate_window_wm_class()
in transform.py
.
Please consider change the return value.
Be wrong, but I think I'm thinking of doing, eb52b7fb9fd459ba8237ed2f2a9da9e79699859e, you can test and confirm, if it works for you.
In some cases, I need to know the process name, which was ignored by
It's not ignored... if they both match it just avoids the duplication by condensing it to a single string... what am I missing here?
@axrdiv What is your specific use case where you need to check the name? An example and knowing what those window names look like would help.
In some cases, I need to know the process name, which was ignored by
It's not ignored... if they both match it just avoids the duplication by condensing it to a single string... what am I missing here?
The original source code can be found in here: code
You can use xprop
command to check window's WM_CLASS
info, it consists of instance name
and class name
two values, they are different some time.
stackexchange
In some cases, I need to know the process name, which was ignored by
It's not ignored... if they both match it just avoids the duplication by condensing it to a single string... what am I missing here?
The original source code can be found in here: code
You can use
xprop
command to check window'sWM_CLASS
info, it consists ofinstance name
andclass name
two values, they are different some time. stackexchange
But in which cases? Because the name is not always the same as the class, and as far as I remember the code does not use the name at any time.