Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clipboard on Wayland #1613

Merged
merged 1 commit into from
May 16, 2022
Merged

Fix clipboard on Wayland #1613

merged 1 commit into from
May 16, 2022

Commits on May 16, 2022

  1. Fix clipboard on Wayland

    arboard advertises that it works with Wayland, but in reality it only
    works with Wayland terminal applications. To make the clipboard work
    with applications that draw Wayland surfaces, arboard isn't going to
    work.
    
    Copypasta does support Wayland's graphical clipboard, but the usage
    isn't documented. However, for the reasons mentioned in emilk#1474 the move
    from Copypasta to arboard makes sense.
    
    To resolve the issue, this commit brings in an optional dependency
    smithay-clipboard, that is a crate that correctly handles the Wayland
    clipboard in graphical applications. It is used by default if a Wayland
    window handle is found. If for some reason the handle to the Wayland
    window handle cannot be fetched, arboard is used as a backup.
    Detegr committed May 16, 2022
    Configuration menu
    Copy the full SHA
    d9cd34a View commit details
    Browse the repository at this point in the history