Skip to content

Commit

Permalink
Set ICED_BACKEND for dialog command
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Dec 24, 2024
1 parent c5fbfcf commit d78f7ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ pub fn show(kind: Kind, message: &str) -> bool {
&["dialog", "--kind", kind.slug(), "--message", message],
&[0],
Privacy::Public,
HashMap::from_iter([("RUST_LOG".to_string(), "debug".to_string())]),
HashMap::from_iter([
("RUST_LOG".to_string(), "debug".to_string()),
("ICED_BACKEND".to_string(), "tiny-skia".to_string()),
]),
) {
Ok(info) => info.stdout.contains(POSITIVE_CHOICE),
Err(e) => {
Expand Down

0 comments on commit d78f7ae

Please sign in to comment.