mirror of
https://github.com/danbulant/appit
synced 2026-06-18 05:41:15 +00:00
Fixed extension builder options
This commit is contained in:
parent
6048148efd
commit
afcae2d4c0
1 changed files with 3 additions and 3 deletions
|
|
@ -409,15 +409,15 @@ impl<Message> Windows<Message> {
|
|||
if let Some(app_name) = &attrs.app_name {
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
builder = winit::platform::wayland::WindowBuilderExtWayland::with_name(
|
||||
builder = winit::platform::wayland::WindowAttributesExtWayland::with_name(
|
||||
builder, app_name, "",
|
||||
);
|
||||
builder =
|
||||
winit::platform::x11::WindowBuilderExtX11::with_name(builder, app_name, "");
|
||||
winit::platform::x11::WindowAttributesExtX11::with_name(builder, app_name, "");
|
||||
}
|
||||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
builder = winit::platform::windows::WindowBuilderExtWindows::with_class_name(
|
||||
builder = winit::platform::windows::WindowAttributesExtWindows::with_class_name(
|
||||
builder, app_name,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue