winit-sonoma-fix/src/platform/linux
Johannes Hofmann 107a1e7332 x11: Support XRandR versions older than 1.5 (#394)
* x11: Support XRandR versions older than 1.5

Fixes #392

Previously, initializing the member `xrandr` of `XConnection` resulted
in a panic when symbols from XRandR version 1.5 were missing. There was
already code to handle older versions of XRandR but it was never
executed because of the panic.

The member `XConnection.xrandr` now contains only functions that can
safely be used with older versions. Additionally, this commit adds a new
member to `XConnection` of type `Option<ffi::XRandr>` that only contains
a value if version 1.5 functionality is present.

* x11: Document the xrandr* members of XConnection
2018-02-03 11:18:51 +01:00
..
wayland Implement set_maximized, set_fullscreen and set_decorations for wayland (#383) 2018-01-13 06:38:12 +01:00
x11 x11: Support XRandR versions older than 1.5 (#394) 2018-02-03 11:18:51 +01:00
dlopen.rs Move api module into platform::linux 2017-03-04 09:09:09 +01:00
mod.rs Implement set_maximized, set_fullscreen and set_decorations for wayland (#383) 2018-01-13 06:38:12 +01:00