From 124e6878b1de561f4bc3fccea768203821c88469 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 9 Jun 2024 17:34:45 +0100 Subject: minor cleanup --- src/cursors.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/cursors.rs') diff --git a/src/cursors.rs b/src/cursors.rs index 3153288..0a4e041 100644 --- a/src/cursors.rs +++ b/src/cursors.rs @@ -13,8 +13,7 @@ pub struct Cursors { #[allow(unused)] // Needs to be kept around since the cursors depend on it font: Font, - pub normal: Cursor, - // TODO: ... + normal: Cursor, } impl Cursors { @@ -53,4 +52,8 @@ impl Cursors { Ok(cid) } + + pub fn normal(&self) -> Cursor { + self.normal + } } -- cgit v1.2.3