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

fix: Correctly pass activeWindowId into parseLinux #173

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

jyboudreau
Copy link
Contributor

Noticed while running this on Linux that sometimes WM_CLIENT_LEADER(WINDOW) is missing from xprop output. The code seems to take this into account with: https://github.com/sindresorhus/active-win/blob/27221e5da0a64025bdec8759605694ea84ff9f68/lib/linux.js#L38-L39

However, the named parameter activeWindowId is not set correctly by the caller.

This fixes the issue.

@sindresorhus sindresorhus merged commit 06dfba0 into sindresorhus:main Oct 17, 2023
0 of 3 checks passed
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 this pull request may close these issues.

2 participants