Skip to content

tagmon: option to skip view() on destination monitor #688

@tkimmeth

Description

@tkimmeth

When I use mmsg -d "tagmon,DP-1" to move a window to another monitor, it switches the destination's view to just the window's first tag. If I had a multi-tag combo view showing on that monitor, it gets wiped out.

My workaround is saving the destination's tag bitmask before the move, then restoring with toggleview calls after (using toggleview instead of comboview since it XORs directly without tag_combo dependency). It works but it's 4+ IPC round-trips for one window move.

Would it be possible to add a tagmon_silent variant (like tagsilent vs tag) that moves the window without calling view() on the destination? That way scripting/IPC users can handle visibility themselves while the default keybind behavior stays the same.

mangowc 0.12.0, Arch, dual monitor (eDP-1 + DP-1)

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