Skip to content

hs.screen.mainScreen() outputs primary screen instead #3830

@OliverGuy

Description

@OliverGuy

When moving to another screen, hs.screen.mainScreen() does not reflect the current (focused) screen; instead, it always outputs the primary screen.

Hammerspoon Version 1.0.0 (6864)
Darwin Kernel Version 24.6.0

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