1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

[PM-23159] Update arboard and enable exclude from history on Linux (#15393)

This commit is contained in:
Daniel García
2025-07-10 19:17:13 +02:00
committed by GitHub
parent 8135e840ab
commit 318040233c
3 changed files with 15 additions and 11 deletions

View File

@@ -30,10 +30,14 @@ fn clipboard_set(set: Set, password: bool) -> Set {
// Wait for clipboard to be available on linux
#[cfg(target_os = "linux")]
fn clipboard_set(set: Set, _password: bool) -> Set {
fn clipboard_set(set: Set, password: bool) -> Set {
use arboard::SetExtLinux;
set.wait()
if password {
set.exclude_from_history().wait()
} else {
set.wait()
}
}
#[cfg(target_os = "macos")]