Skip to content

Commit

Permalink
x11 workaround: disable dma buf renderer in favor of disabling compos…
Browse files Browse the repository at this point in the history
…iting mode (#533)
  • Loading branch information
hrzlgnm authored Nov 11, 2024
1 parent e790acc commit 13dc730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {}
Expand Down

0 comments on commit 13dc730

Please sign in to comment.