From 13dc7302226a34c174ac459bb3dcf9bd5ca89800 Mon Sep 17 00:00:00 2001 From: hrzlgnm Date: Mon, 11 Nov 2024 21:45:10 +0100 Subject: [PATCH] x11 workaround: disable dma buf renderer in favor of disabling compositing mode (#533) --- src-tauri/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index ee1f2e9..37ee6a6 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -245,9 +245,9 @@ fn x11_workaround() { Ok(val) => { if val == "x11" { println!( - "Setting WEBKIT_DISABLE_COMPOSITING_MODE=1 to workaround rendering issues with x11 session" + "Setting WEBKIT_DISABLE_DMABUF_RENDERER=1 to workaround rendering issues with x11 session" ); - std::env::set_var("WEBKIT_DISABLE_COMPOSITING_MODE", "1") + std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1") } } Err(_e) => {}