x11: move x11 specific code to x11 from linux/mod.rs
This commit is contained in:
parent
b3dcfa1275
commit
5cada36ae8
3 changed files with 71 additions and 73 deletions
|
|
@ -79,7 +79,7 @@ pub type XWindow = u32;
|
|||
#[inline]
|
||||
pub fn register_xlib_error_hook(hook: XlibErrorHook) {
|
||||
// Append new hook.
|
||||
crate::platform_impl::XLIB_ERROR_HOOKS.lock().unwrap().push(hook);
|
||||
crate::platform_impl::x11::XLIB_ERROR_HOOKS.lock().unwrap().push(hook);
|
||||
}
|
||||
|
||||
/// Additional methods on [`ActiveEventLoop`] that are specific to X11.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue