2 Commits

Author SHA1 Message Date
df3bd69141 fix: disable dmabuf renderer for linux 2025-07-12 16:42:50 +02:00
12feed96e9 fix: disable text select 2025-07-12 16:42:03 +02:00
2 changed files with 12 additions and 0 deletions

View File

@@ -15,6 +15,12 @@ use crate::commands::{
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
#[cfg(target_os = "linux")]
unsafe {
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
}
let mut builder = tauri::Builder::default();
#[cfg(desktop)]
{

View File

@@ -150,6 +150,12 @@
@layer base {
* {
@apply border-border outline-ring/50;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body {
@apply bg-background text-foreground;