Skip to main content

spawn_cursor_worker

Function spawn_cursor_worker 

Source
pub fn spawn_cursor_worker(cursor_size: i32, size_cap: i32) -> Sender<CursorJob>
Expand description

Spawn the cursor delivery worker; returns its job channel. The worker owns its own theme handle, the PNG cache, and the Python callback for the life of the process (like the compositor thread itself); PY_SHUTDOWN gates every Python call.