From 4a6fd6b5bcc8f73453f658684ec4c6a815774662 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 15 Sep 2022 12:08:39 -0700 Subject: [PATCH] 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). --- native/src/window/action.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/src/window/action.rs b/native/src/window/action.rs index d891c6ac4a..73338e2246 100644 --- a/native/src/window/action.rs +++ b/native/src/window/action.rs @@ -13,6 +13,8 @@ pub enum Action { height: u32, }, /// Move the window. + /// + /// Unsupported on Wayland. Move { /// The new logical x location of the window x: i32,