Skip to content

Commit c1c8788

Browse files
committed
Dektop change feature guard to linux instead of unix for wayland
1 parent 2c89134 commit c1c8788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl ApplicationHandler<CustomEvent> for WinitApp {
177177
.with_min_inner_size(winit::dpi::LogicalSize::new(400, 300))
178178
.with_inner_size(winit::dpi::LogicalSize::new(1200, 800));
179179

180-
#[cfg(target_family = "unix")]
180+
#[cfg(target_os = "linux")]
181181
{
182182
use crate::consts::APP_ID;
183183
use winit::platform::wayland::ActiveEventLoopExtWayland;

0 commit comments

Comments
 (0)