summaryrefslogtreecommitdiff
path: root/engine/src/windowing/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/windowing/window.rs')
-rw-r--r--engine/src/windowing/window.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/src/windowing/window.rs b/engine/src/windowing/window.rs
index c601487..b935657 100644
--- a/engine/src/windowing/window.rs
+++ b/engine/src/windowing/window.rs
@@ -288,6 +288,9 @@ pub enum CursorGrabMode
/// The cursor is locked to a specific position in the window.
Locked,
+
+ /// The cursor is confined to the inside of the window
+ Confined,
}
/// A unique identifier for an X11 visual.