summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Ian Douglas Scott <idscott@system76.com>2022-09-15 12:08:39 -0700
committerLibravatar Ian Douglas Scott <idscott@system76.com>2022-09-15 12:08:39 -0700
commit4a6fd6b5bcc8f73453f658684ec4c6a815774662 (patch)
tree7db31563e266dfb6d1cc2372cfb9ac4da6049385 /native
parent465541125612ef6e70623098b956d5c757b0b1cf (diff)
downloadiced-4a6fd6b5bcc8f73453f658684ec4c6a815774662.tar.gz
iced-4a6fd6b5bcc8f73453f658684ec4c6a815774662.tar.bz2
iced-4a6fd6b5bcc8f73453f658684ec4c6a815774662.zip
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).
Diffstat (limited to 'native')
-rw-r--r--native/src/window/action.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/window/action.rs b/native/src/window/action.rs
index d891c6ac..73338e22 100644
--- a/native/src/window/action.rs
+++ b/native/src/window/action.rs
@@ -13,6 +13,8 @@ pub enum Action<T> {
height: u32,
},
/// Move the window.
+ ///
+ /// Unsupported on Wayland.
Move {
/// The new logical x location of the window
x: i32,