Skip to content

Commit d78f7ae

Browse files
committed
Set ICED_BACKEND for dialog command
1 parent c5fbfcf commit d78f7ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gui/dialog.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ pub fn show(kind: Kind, message: &str) -> bool {
3535
&["dialog", "--kind", kind.slug(), "--message", message],
3636
&[0],
3737
Privacy::Public,
38-
HashMap::from_iter([("RUST_LOG".to_string(), "debug".to_string())]),
38+
HashMap::from_iter([
39+
("RUST_LOG".to_string(), "debug".to_string()),
40+
("ICED_BACKEND".to_string(), "tiny-skia".to_string()),
41+
]),
3942
) {
4043
Ok(info) => info.stdout.contains(POSITIVE_CHOICE),
4144
Err(e) => {

0 commit comments

Comments
 (0)