mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 18:08:12 +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
+1
-1
@@ -177,7 +177,7 @@ impl ApplicationHandler<CustomEvent> for WinitApp {
|
|||||||
.with_min_inner_size(winit::dpi::LogicalSize::new(400, 300))
|
.with_min_inner_size(winit::dpi::LogicalSize::new(400, 300))
|
||||||
.with_inner_size(winit::dpi::LogicalSize::new(1200, 800));
|
.with_inner_size(winit::dpi::LogicalSize::new(1200, 800));
|
||||||
|
|
||||||
#[cfg(target_family = "unix")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
use crate::consts::APP_ID;
|
use crate::consts::APP_ID;
|
||||||
use winit::platform::wayland::ActiveEventLoopExtWayland;
|
use winit::platform::wayland::ActiveEventLoopExtWayland;
|
||||||
|
|||||||
Reference in New Issue
Block a user