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

This commit is contained in:
HavenOfTheRaven
2024-04-05 22:46:00 -06:00
committed by GitHub
parent 17fb1211ee
commit 7e2f172b74

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")
}