alacritty/copypasta

set_contents doesn't work on x11

tomara-x opened this issue · 2 comments

hello pasta people! <3

get_contents works fine, but set_contents just results in an empty clipboard

i've tried searching and found this: https://stackoverflow.com/questions/73190617
which describes it exactly, only difference is that for me, even using get_contents afterwards still doesn't work

the rust-clipboard crate works as expected, so i looked and can only see the absence of the Box<Error> from the return result, but i don't know if that's the cause
https://github.com/aweinstock314/rust-clipboard/blob/master/src/x11_clipboard.rs#L66

should contact the x11-clipboard crate if that's the case. We just forward all of that.

excuse me! the context was being dropped, that's why it cleared! sorry for the false alarm