We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae3788 commit a857fb0Copy full SHA for a857fb0
src-tauri/src/main.rs
@@ -21,6 +21,11 @@ use tauri::Manager;
21
/// - Failed to apply window effects
22
/// - Failed to initialize the application state
23
fn main() {
24
+ #[cfg(target_os = "linux")]
25
+ if std::env::var("XDG_SESSION_TYPE").unwrap_or_default() == "wayland" {
26
+ std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
27
+ }
28
+
29
tauri::Builder::default()
30
.setup(|app| {
31
let window = app.get_webview_window("main").unwrap();
0 commit comments