Skip to content

PastePrimary triggers on every cursor movement while MouseMiddle is pressed #2599

@IlyaMZP

Description

@IlyaMZP

Description of the problem or steps to reproduce

Select something and try to paste it with middle mouse button.
If you move cursor while the middle mouse button is still down, multiple paste events happen, leading to more than one paste.
Clipboard mode is set to "terminal".
If you hold Shift while pasting, same doesn't happen, it pastes only one time for each click.
Demo: Video

Specifications

Commit hash: 225927b
OS: Linux (Arch Linux, Sway WM)
Terminal: alacritty

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