Fix import path

This commit is contained in:
Nico Burns 2023-02-28 12:15:04 +00:00
parent 42671e2855
commit 09a2a06130

View file

@ -163,7 +163,7 @@ impl Window {
{
// `with_name` is available on both `WindowBuilderExtWayland` and `WindowBuilderExtX11` and they do
// exactly the same thing. We arbitrarily choose `WindowBuilderExtWayland` here.
use ::winit::platform::x11::WindowBuilderExtWayland;
use ::winit::platform::wayland::WindowBuilderExtWayland;
if let Some(id) = _id {
window_builder = window_builder.with_name(id.clone(), id);