fixed compiling issue for when x11 is not included as a feature (#22)

This commit is contained in:
HavenOfTheRaven authored and GitHub committed 2024-04-06 04:46:00 +00:00
1 parent 17fb1211ee
commit 7e2f172b74
1 file changed
+1 -1
+1 -1
View File
@@ -735,7 +735,7 @@ pub fn create_screens_wayland(
}
#[cfg(not(feature = "x11"))]
pub fn create_screens_x11(session: &AppSession) -> anyhow::Result<ScreenCreateData> {
pub fn create_screens_x11(_app: &mut AppState) -> anyhow::Result<ScreenCreateData> {
anyhow::bail!("X11 support not enabled")
}