diff --git a/iced_layershell/src/multi_window.rs b/iced_layershell/src/multi_window.rs index 8fc23d2..d22b8ab 100644 --- a/iced_layershell/src/multi_window.rs +++ b/iced_layershell/src/multi_window.rs @@ -373,7 +373,11 @@ where let Some(id) = ev.current_surface_id() else { continue; }; - let popup_settings = NewPopUpSettings {size, position,id}; + let popup_settings = NewPopUpSettings { + size, + position, + id + }; return ReturnData::NewPopUp(( popup_settings, Some(info), diff --git a/layershellev/src/lib.rs b/layershellev/src/lib.rs index 3a6924f..f26850a 100644 --- a/layershellev/src/lib.rs +++ b/layershellev/src/lib.rs @@ -150,7 +150,6 @@ use wayland_client::{ }; use sctk::reexports::{calloop::EventLoop, calloop_wayland_source::WaylandSource}; -use wayland_protocols::xdg::shell::client::xdg_surface; use std::time::Duration; @@ -163,7 +162,7 @@ use wayland_protocols_wlr::layer_shell::v1::client::{ use wayland_protocols::xdg::shell::client::{ xdg_popup::{self, XdgPopup}, xdg_positioner::XdgPositioner, - xdg_surface::XdgSurface, + xdg_surface::{self, XdgSurface}, xdg_wm_base::XdgWmBase, };