mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
Implement resize events on X11
This commit is contained in:
@@ -241,6 +241,17 @@ pub struct XClientMessageEvent {
|
||||
pub l: [libc::c_long, ..5],
|
||||
}
|
||||
|
||||
#[reprc(C)]
|
||||
pub struct XResizeRequestEvent {
|
||||
pub type_: libc::c_int,
|
||||
pub serial: libc::c_ulong,
|
||||
pub send_event: Bool,
|
||||
pub display: *mut Display,
|
||||
pub window: Window,
|
||||
pub width: libc::c_int,
|
||||
pub height: libc::c_int,
|
||||
}
|
||||
|
||||
#[link(name = "GL")]
|
||||
#[link(name = "X11")]
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user