Document that window::Action::Move is unsupported on Wayland
https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_outer_position notes that this isn't supported on Wayland. Wayland by design doesn't allow applications to position windows arbitrarily. GTK4 in comparison removed `gtk_window_move()` (which naturally didn't work on Wayland).
This commit is contained in:
parent
4655411256
commit
4a6fd6b5bc
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ pub enum Action<T> {
|
||||||
height: u32,
|
height: u32,
|
||||||
},
|
},
|
||||||
/// Move the window.
|
/// Move the window.
|
||||||
|
///
|
||||||
|
/// Unsupported on Wayland.
|
||||||
Move {
|
Move {
|
||||||
/// The new logical x location of the window
|
/// The new logical x location of the window
|
||||||
x: i32,
|
x: i32,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue