xwayland-satellite/testwl
En-En cc011f3251 refactor: fix handle_selection_request 8/7 args
Resolve Clippy's `too_many_arguments` lint on
`handle_selection_request` by removing the `success` and `refuse`
parameters and returning a bool indicating which needs to be run.

Use the helper functions defined last commit to simplify
`incr_copy_from_x11`

Reduce the `match` statement checking if the target is the TARGET
atom to an if statement. Although using `match` statements as
`if`/`else if`/`else` chains occur elsewhere, this one is both only 2
cases, and already of particular relevance to the current work.

Refactor `paste_impl` to be much easier to read. I did this code algebra
way back while investigating #142, but since I never figured that out,
the change has just been sitting in my stash.

refactor: simplify paste_data logic, some unnests
2025-10-24 18:40:12 -04:00
..
src refactor: fix handle_selection_request 8/7 args 2025-10-24 18:40:12 -04:00
Cargo.lock Initial commit 2024-04-29 00:30:06 -04:00
Cargo.toml tests: only use PipeWriter if rust-version >= 1.87 2025-09-02 20:38:01 -04:00