tony / oxwm

fixed some warnings Browse files
tonybanters committed 2025-10-04 parent 597aa85 commit 50d8817bcceec784518bc9206ce08e479a6e8d72
Showing 2 changed files with 1 additions and 3 deletions. UnifiedSplit
+1 −2 src/bar/font.rs
@@ -1,6 +1,5 @@
1 1 use anyhow::Result;
2 2 use std::ffi::CString;
3 -use std::ptr;
4 3 use x11::xft::{XftColor, XftDraw, XftDrawStringUtf8, XftFont, XftFontOpenName};
5 4 use x11::xlib::{Colormap, Display, Drawable, Visual};
6 5 use x11::xrender::XRenderColor;
@@ -47,7 +46,7 @@ impl Font {
47 46 text.len() as i32,
48 47 &mut extents,
49 48 );
50 - extents.width as u16
49 + extents.width
51 50 }
52 51 }
53 52 }
+0 −1 src/config.rs
@@ -24,7 +24,6 @@ pub const MODKEY: KeyButMask = KeyButMask::MOD1;
24 24 const GRAY_DARK: u32 = 0x222222;
25 25 const GRAY_MID: u32 = 0x444444;
26 26 const GRAY_LIGHT: u32 = 0xbbbbbb;
27 -// const GRAY_LIGHTEST: u32 = 0xeeeeee;
28 27 const CYAN: u32 = 0x6dade3;
29 28 const MAGENTA: u32 = 0xad8ee6;
30 29