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

Windows not found on Linux #33

Open
dancesWithBugs opened this issue Dec 3, 2020 · 0 comments
Open

Windows not found on Linux #33

dancesWithBugs opened this issue Dec 3, 2020 · 0 comments

Comments

@dancesWithBugs
Copy link
Contributor

Version: 2.1.0

The X11-related window management code doesn't consider that windows are structured as a tree rather than a list. getWindows() returns the children of the root window, but ignores all grandchildren windows.

This becomes problematic e.g. when searching for a window with a specific title. When the grandchild has a window title, but the parent does not, the current implementation cannot find the requested window.

dancesWithBugs referenced this issue in dancesWithBugs/libnut Dec 3, 2020
Fixes #33, improves code structure and uses variable names in accordance with X11 manual
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

Successfully merging a pull request may close this issue.

1 participant