cleanup(wayland/registry): clippy
This commit is contained in:
@@ -9,8 +9,8 @@ use crate::wayland::{
|
|||||||
dmabuf::Dmabuf,
|
dmabuf::Dmabuf,
|
||||||
mesa_drm::MesaDrm,
|
mesa_drm::MesaDrm,
|
||||||
presentation::Presentation,
|
presentation::Presentation,
|
||||||
viewporter::Viewporter,
|
|
||||||
util::ClientExt,
|
util::ClientExt,
|
||||||
|
viewporter::Viewporter,
|
||||||
xdg::wm_base::{WmBase, XdgWmBase},
|
xdg::wm_base::{WmBase, XdgWmBase},
|
||||||
};
|
};
|
||||||
use waynest::{
|
use waynest::{
|
||||||
@@ -21,7 +21,8 @@ use waynest::{
|
|||||||
external::drm::wl_drm::WlDrm,
|
external::drm::wl_drm::WlDrm,
|
||||||
stable::{
|
stable::{
|
||||||
linux_dmabuf_v1::zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1,
|
linux_dmabuf_v1::zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1,
|
||||||
presentation_time::wp_presentation::WpPresentation, viewporter::wp_viewporter::WpViewporter,
|
presentation_time::wp_presentation::WpPresentation,
|
||||||
|
viewporter::wp_viewporter::WpViewporter,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -212,7 +213,7 @@ impl WlRegistry for Registry {
|
|||||||
RegistryGlobals::VIEWPORTER => {
|
RegistryGlobals::VIEWPORTER => {
|
||||||
tracing::info!("Binding wp_viewporter");
|
tracing::info!("Binding wp_viewporter");
|
||||||
|
|
||||||
client.insert(new_id.object_id, Viewporter::default());
|
client.insert(new_id.object_id, Viewporter);
|
||||||
}
|
}
|
||||||
id => {
|
id => {
|
||||||
tracing::error!(id, "Wayland: failed to bind to registry global");
|
tracing::error!(id, "Wayland: failed to bind to registry global");
|
||||||
|
|||||||
Reference in New Issue
Block a user