Compare commits

...

1 commit

Author SHA1 Message Date
16dc3f934b chore: clean wayland warnings 2026-05-25 19:36:21 +02:00

View file

@ -14,7 +14,6 @@
//! * `wayland-csd-adwaita-crossfont`. //! * `wayland-csd-adwaita-crossfont`.
//! * `wayland-csd-adwaita-notitle`. //! * `wayland-csd-adwaita-notitle`.
//! * `wayland-csd-adwaita-notitlebar`. //! * `wayland-csd-adwaita-notitlebar`.
use std::any::Any;
use std::ffi::c_void; use std::ffi::c_void;
use std::marker::PhantomData; use std::marker::PhantomData;
use std::ptr::NonNull; use std::ptr::NonNull;
@ -104,7 +103,7 @@ pub trait WindowExtWayland {
/// Returns `xdg_toplevel` of the window or [`None`] if the window is X11 window. /// Returns `xdg_toplevel` of the window or [`None`] if the window is X11 window.
fn xdg_toplevel(&self) -> Option<NonNull<c_void>>; fn xdg_toplevel(&self) -> Option<NonNull<c_void>>;
fn xdg_surface_handle<'a>(&'a self) -> Option<&dyn HasXdgSurfaceHandle>; fn xdg_surface_handle<'a>(&'a self) -> Option<&'a dyn HasXdgSurfaceHandle>;
fn window_state(&self) -> Option<WindowState>; fn window_state(&self) -> Option<WindowState>;
} }