summaryrefslogtreecommitdiff
path: root/src/cursors.rs
diff options
context:
space:
mode:
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
+ }
}