mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Desktop: Change feature guard to Linux instead of Unix for Wayland
This commit is contained in:
committed by
Keavon Chambers
parent
2c8913416d
commit
97978c2491
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user