Type Alias winit::platform::x11::XlibErrorHook
source · pub type XlibErrorHook = Box<dyn Fn(*mut c_void, *mut c_void) -> bool + Send + Sync>;
Expand description
The first argument in the provided hook will be the pointer to XDisplay
and the second one the pointer to XErrorEvent
. The returned bool
is an
indicator whether the error was handled by the callback.
Aliased Type§
struct XlibErrorHook(/* private fields */);