properly deal w cursor locking

This commit is contained in:
2024-06-05 01:03:50 -04:00
parent 65ba54f2f5
commit 44a37114e3
2 changed files with 26 additions and 10 deletions
+2
View File
@@ -26,6 +26,7 @@ pub struct Client<'a> {
prev_frame: Instant,
prev_update: Instant,
grabbed_cursor: bool,
keep_cursor: bool,
}
impl Client<'_> {
@@ -41,6 +42,7 @@ impl Client<'_> {
prev_update: Instant::now(),
target: Instant::now(),
grabbed_cursor: false,
keep_cursor: false,
}
}