Desktop: Change feature guard to Linux instead of Unix for Wayland

This commit is contained in:
Dennis Kobert 2025-08-21 12:53:24 +02:00 committed by Keavon Chambers
parent 2c8913416d
commit 97978c2491
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ impl ApplicationHandler<CustomEvent> for WinitApp {
.with_min_inner_size(winit::dpi::LogicalSize::new(400, 300))
.with_inner_size(winit::dpi::LogicalSize::new(1200, 800));
#[cfg(target_family = "unix")]
#[cfg(target_os = "linux")]
{
use crate::consts::APP_ID;
use winit::platform::wayland::ActiveEventLoopExtWayland;