Function tetra::window::is_mouse_grabbed[][src]

pub fn is_mouse_grabbed(ctx: &Context) -> bool
Expand description

Returns whether or not the mouse is currently grabbed by the window.

When this is active, the cursor will not be able to leave the window while it is focused.