From e3bc050aaeb0b7d5a5d463ed06911128e2d6753f Mon Sep 17 00:00:00 2001 From: Paul Delafosse Date: Tue, 10 Nov 2020 08:51:38 +0100 Subject: Match winit unix targets for wayland app_id --- winit/src/settings.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'winit') diff --git a/winit/src/settings.rs b/winit/src/settings.rs index 4a0e1fe1..6051e5bc 100644 --- a/winit/src/settings.rs +++ b/winit/src/settings.rs @@ -103,7 +103,13 @@ impl Window { .with_max_inner_size(winit::dpi::LogicalSize { width, height }); } - #[cfg(target_os = "linux")] + #[cfg(any( + target_os = "linux", + target_os = "dragonfly", + target_os = "freebsd", + target_os = "netbsd", + target_os = "openbsd" + ))] { use ::winit::platform::unix::WindowBuilderExtUnix; window_builder = window_builder.with_app_id(title.to_string()); -- cgit