winit-sonoma-fix/src/platform/linux
Francesca Sunshine 23e4293179 unix::WindowExt no longer returns pointers for things that aren't actually pointers (#364)
Fixes #256

`get_xlib_window` and `get_xlib_screen_id` previously returned `Option<*mut c_void>` by
casting integer IDs into pointers, which while producing no functionality issues, is
semantically incorrect and rather surprising. Worse still, the docs for `get_xlib_window`
stated that it was in fact a valid pointer.

Additionally, now all `unix::WindowExt` methods return `std::os::raw` types rather than
`libc` types; note that the two versions of `c_void` are not interchangeable in the eyes of
the compiler, so those wanting the `libc` type will need to explicitly cast.

This is a breaking change, and will require some trivial changes to glutin.
2017-12-17 10:17:26 +01:00
..
wayland Mouse events (#344) 2017-11-12 21:56:57 +01:00
x11 unix::WindowExt no longer returns pointers for things that aren't actually pointers (#364) 2017-12-17 10:17:26 +01:00
dlopen.rs Move api module into platform::linux 2017-03-04 09:09:09 +01:00
mod.rs Impl Clone for EventsLoopProxy (#331) 2017-10-25 20:03:57 +02:00