Skip to content

Replaced wf.hasWindow with not next(wf.windows) as test to determ…#3869

Open
asp55 wants to merge 1 commit intoHammerspoon:masterfrom
asp55:hasNoWindows
Open

Replaced wf.hasWindow with not next(wf.windows) as test to determ…#3869
asp55 wants to merge 1 commit intoHammerspoon:masterfrom
asp55:hasNoWindows

Conversation

@asp55
Copy link
Copy Markdown

@asp55 asp55 commented Apr 24, 2026

Replaced wf.hasWindow with not next(wf.windows) as test to determine whether or not to emit hasNoWindows

Now hasNoWindows will only emit when the last window in the window filter has been rejected.

Fix for hs.window.filter.hasNoWindows triggers inappropriately

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['pr-fix', 'pr-change', 'pr-feature', 'pr-maintenance']

…ine whether or not to emit `hasNoWindows`
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.

1 participant