mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Merge pull request #247 from akiss77/pr-xerrorevent
Reorder the fields of `XErrorEvent` to match the struct layout found in recent Xlib.h
This commit is contained in:
@@ -1362,11 +1362,11 @@ pub struct XF86VidModeModeInfo {
|
||||
pub struct XErrorEvent {
|
||||
pub type_: libc::c_int,
|
||||
pub display: *mut Display,
|
||||
pub resourceid: XID,
|
||||
pub serial: libc::c_ulong,
|
||||
pub error_code: libc::c_char,
|
||||
pub request_code: libc::c_char,
|
||||
pub minor_code: libc::c_char,
|
||||
pub resourceid: XID,
|
||||
}
|
||||
|
||||
#[cfg(feature = "headless")]
|
||||
|
||||
Reference in New Issue
Block a user