winit/src/platform_impl/linux/x11
Kirill Chibisov 12dbbf8012
On Wayland, improve initial user size handling
Keep the user provided size in the original values and convert only
when we're getting a `configure` event. On some compositors will
have a scale available, so it'll work, however with some we'll
still have old 'pick 1` as default.

Also configure_bounds when compositor tells the user to pick the size,
that will ensure that initial `with_inner_size` won't grow beyond the
working area.

Fixes #3187.
2023-10-27 00:56:23 +04:00
..
ime X11: Add #[deny(unsafe_op_in_unsafe_fn)] (#3121) 2023-09-30 21:43:41 +02:00
util Fix unused import warnings on nightly 2023-10-25 15:58:31 +04:00
activation.rs Add platform::startup_notify for Wayland/X11 2023-07-20 13:16:51 +00:00
atoms.rs Add a way to embed the X11 window into another 2023-08-11 13:30:55 +04:00
dnd.rs Replace parts of the Xlib backend with x11-rb 2023-07-12 07:59:12 +00:00
event_processor.rs On X11, fix cursor_hittest not reloaded on Resize 2023-10-21 11:09:53 +04:00
ffi.rs Fix unused import warnings on nightly 2023-10-25 15:58:31 +04:00
mod.rs Implement AsFd/AsRawFd for EventLoop<T> 2023-10-15 20:31:29 +04:00
monitor.rs On Wayland, improve initial user size handling 2023-10-27 00:56:23 +04:00
window.rs On X11, fix cursor_hittest not reloaded on Resize 2023-10-21 11:09:53 +04:00
xdisplay.rs Implement X11 extensions using x11rb instead of Xlib 2023-08-30 01:01:25 +04:00