diff --git a/libs/scrap/src/common/wayland.rs b/libs/scrap/src/common/wayland.rs index 99752fa7f..e9a846602 100644 --- a/libs/scrap/src/common/wayland.rs +++ b/libs/scrap/src/common/wayland.rs @@ -4,6 +4,7 @@ use std::{io, sync::RwLock, time::Duration}; pub struct Capturer(Display, Box, bool, Vec); +#[allow(non_upper_case_globals)] pub const is_cursor_embedded: bool = true; lazy_static::lazy_static! { diff --git a/libs/scrap/src/common/x11.rs b/libs/scrap/src/common/x11.rs index 138ab5000..a8359498b 100644 --- a/libs/scrap/src/common/x11.rs +++ b/libs/scrap/src/common/x11.rs @@ -3,6 +3,7 @@ use std::{io, ops, time::Duration}; pub struct Capturer(x11::Capturer); +#[allow(non_upper_case_globals)] pub const is_cursor_embedded: bool = false; impl Capturer {