Skip to content

Inconsistency of return of "hs.application.kind" leads to unexpected behavior of "hs.window.filter" #3793

@avegetablechicken

Description

@avegetablechicken

If Barrier has a window when calling "hs.window.filter", "hs.application.kind" returns 1, so "hs.window.filter" works well. But if Barrier has no window, "hs.application.kind" returns -1, that means "hs.window.filter" never starts an appwatcher for Barrier unless it is once activated. Are there any workarounds for this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions