Skip to content

Commit 97978c2

Browse files
TrueDoctorKeavon
authored andcommitted
Desktop: Change feature guard to Linux instead of Unix for Wayland
1 parent 2c89134 commit 97978c2

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)