Match winit unix targets for wayland app_id
This commit is contained in:
parent
0586e48c70
commit
e3bc050aae
1 changed files with 7 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue