Skip to content

Prevent a window from taking focus or switching workspace #5412

Description

@constantitus

Description

I'm trying to prevent a window, specifically Steam, from taking focus when it opens.
I've tried the following

windowrule = workspace 10, ^(steam)$
windowrule = noinitialfocus, ^(steam)$
windowrule = suppressevent activatefocus, ^(steam)$

Now it opens windows on workspace 10, but they still switch my view to workspace 10, which I don't want.
Can I force it to spawn silently without taking focus or switching workspace ?

If this is not possible, then it's a feature request.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions