aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-02-02 08:51:21 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-02-02 08:51:21 +0100
commit7ced7cb67403817c1834006dc0704236d701c999 (patch)
treef16eeccca3e899b655816a18f0dea9817409d08a
parentbe092183a69ef39e931a41bb53e48fb34361ec47 (diff)
parente4469cfce795879610486b51ada77c1dd7daa2f0 (diff)
downloadglutin-7ced7cb67403817c1834006dc0704236d701c999.tar.gz
glutin-7ced7cb67403817c1834006dc0704236d701c999.zip
Merge pull request #247 from akiss77/pr-xerrorevent
Reorder the fields of `XErrorEvent` to match the struct layout found in recent Xlib.h
-rw-r--r--src/x11/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs
index 1d9e7de..1d91cab 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -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")]