Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please do not ignore process name #154

Open
axrdiv opened this issue Mar 1, 2022 · 5 comments
Open

Please do not ignore process name #154

axrdiv opened this issue Mar 1, 2022 · 5 comments

Comments

@axrdiv
Copy link

axrdiv commented Mar 1, 2022

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.
2022-03-01_10-41
Please consider change the return value.
2022-03-01_10-50

@luizoti
Copy link

luizoti commented Mar 31, 2022

Be wrong, but I think I'm thinking of doing, eb52b7f, you can test and confirm, if it works for you.

@joshgoebel
Copy link

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?

@joshgoebel
Copy link

@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.

@axrdiv
Copy link
Author

axrdiv commented Jun 1, 2022

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

@luizoti
Copy link

luizoti commented Jun 1, 2022

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants