Fix import path
This commit is contained in:
parent
42671e2855
commit
09a2a06130
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ impl Window {
|
||||||
{
|
{
|
||||||
// `with_name` is available on both `WindowBuilderExtWayland` and `WindowBuilderExtX11` and they do
|
// `with_name` is available on both `WindowBuilderExtWayland` and `WindowBuilderExtX11` and they do
|
||||||
// exactly the same thing. We arbitrarily choose `WindowBuilderExtWayland` here.
|
// exactly the same thing. We arbitrarily choose `WindowBuilderExtWayland` here.
|
||||||
use ::winit::platform::x11::WindowBuilderExtWayland;
|
use ::winit::platform::wayland::WindowBuilderExtWayland;
|
||||||
|
|
||||||
if let Some(id) = _id {
|
if let Some(id) = _id {
|
||||||
window_builder = window_builder.with_name(id.clone(), id);
|
window_builder = window_builder.with_name(id.clone(), id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue