Skip to content

Commit

Permalink
Fix import path
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed May 11, 2023
1 parent 42671e2 commit 09a2a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winit/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 09a2a06

Please sign in to comment.