Skip to content

Handle X11 selection for stopped clients #821

Description

@blueyed

If you stop an application where something is selected (using the mouse typically), e.g. a terminal (using the PID from echo $PPID) with kill -STOP $pid, trying to paste this selection somewhere else will block, until you kill -CONT the application with the selection.

Could CopyQ handle this case?

This is related to awesomeWM/awesome-www#111, where I dynamically stop e.g. browsers when they are not focused.

I've tried using xsel --keep --primary before the kill -STOP to work around this, but it appears to cause issues with Neovim, which uses xsel itself for clipboard management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions