Commit 8086e75
committed
Suppress spurious x11_clipboard Error::Owner errors
The x11_clipboard::Clipboard::store() method has a racy ownership check
that is causing spurious warnings to be emitted in alacritty [0].
x11_clipboard is unwilling to accept a fix for the issue [1], citing
"maintenance mode".
Let's do the next best thing and ignore the error in our clipboard
wrapper: for our intents and purposes this variant serves no purpose,
because it only detects clipboard ownership changes *after* contents
have already been stored, at which point the job could equally well be
considered done.
[0] alacritty/alacritty#6978
[1] quininer/x11-clipboard#53
Fixes: alacritty/alacritty#6978
Signed-off-by: Daniel Müller <deso@posteo.net>1 parent c429615 commit 8086e75
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
0 commit comments