Skip to main content

init_display_threading

Function init_display_threading 

Source
pub(crate) fn init_display_threading()
Expand description

Enable libX11’s internal locking for this process and record the outcome for threading_state. A no-op off Linux, which has no Xlib.

Must run before the windowing system opens its Display — see the module docs for why, and the call site in run() for why that placement is sufficient.