From f514c4ec94a33447ab1ccb45b11346f0f0a2446d Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 28 Nov 2026 15:31:11 +0100 Subject: feat(engine): add cursor grab mode for confining cursor to window --- engine/src/windowing/window.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/src/windowing/window.rs') 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. -- cgit v1.2.3-18-g5258