diff --git a/window/src/os/x11/window.rs b/window/src/os/x11/window.rs index 38da2487698..8b434c32a89 100644 --- a/window/src/os/x11/window.rs +++ b/window/src/os/x11/window.rs @@ -1435,8 +1435,8 @@ impl XWindow { depth: conn.depth, wid: child_id, parent: window_id, - x: x.unwrap_or(0).try_into()?, - y: y.unwrap_or(0).try_into()?, + x: 0, + y: 0, width: width.try_into()?, height: height.try_into()?, border_width: 0,