mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Reorder the fields of XErrorEvent
to match the struct layout found in recent Xlib.h
Fixes #244
This commit is contained in:
parent
be092183a6
commit
e4469cfce7
|
@ -1362,11 +1362,11 @@ pub struct XF86VidModeModeInfo {
|
||||||
pub struct XErrorEvent {
|
pub struct XErrorEvent {
|
||||||
pub type_: libc::c_int,
|
pub type_: libc::c_int,
|
||||||
pub display: *mut Display,
|
pub display: *mut Display,
|
||||||
|
pub resourceid: XID,
|
||||||
pub serial: libc::c_ulong,
|
pub serial: libc::c_ulong,
|
||||||
pub error_code: libc::c_char,
|
pub error_code: libc::c_char,
|
||||||
pub request_code: libc::c_char,
|
pub request_code: libc::c_char,
|
||||||
pub minor_code: libc::c_char,
|
pub minor_code: libc::c_char,
|
||||||
pub resourceid: XID,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "headless")]
|
#[cfg(feature = "headless")]
|
||||||
|
|
Loading…
Reference in a new issue