MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_disable_cursor

Function bloom_disable_cursor

native/linux/src/lib.rs:1669–1675  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1667
1668#[no_mangle]
1669pub extern "C" fn bloom_disable_cursor() {
1670 let input = &mut engine().input;
1671 input.cursor_disabled = true;
1672 input.clear_mouse_delta();
1673 #[cfg(target_os = "linux")]
1674 x11_impl::enter_relative_mode();
1675}
1676
1677#[no_mangle]
1678pub extern "C" fn bloom_enable_cursor() {

Callers

nothing calls this directly

Calls 3

enter_relative_modeFunction · 0.85
clear_mouse_deltaMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected