diff --git a/src/buttons.rs b/src/buttons.rs index d124ba8..3e024c2 100644 --- a/src/buttons.rs +++ b/src/buttons.rs @@ -1,3 +1,4 @@ +use log::warn; use tiny_skia::{FillRule, PathBuilder, PixmapMut, Rect, Stroke, Transform}; use smithay_client_toolkit::shell::xdg::window::{WindowManagerCapabilities, WindowState}; @@ -11,42 +12,59 @@ const BUTTON_SPACING: f32 = 13.; #[derive(Debug)] pub(crate) struct Buttons { - pub close: Button, - pub maximize: Option