summaryrefslogtreecommitdiff
path: root/src/cursors.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-09 17:34:45 +0100
committertcmal <me@aria.rip>2024-06-09 17:34:45 +0100
commit124e6878b1de561f4bc3fccea768203821c88469 (patch)
treeff46ede6bc720148402841bfaad6d850ec900ab0 /src/cursors.rs
parent66e3423828892a72e5e525f2dc8d5ad91e634445 (diff)
minor cleanup
Diffstat (limited to 'src/cursors.rs')
-rw-r--r--src/cursors.rs7
1 files changed, 5 insertions, 2 deletions
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
+ }
}