diff --git a/src/ifs/wl_surface/xdg_surface.rs b/src/ifs/wl_surface/xdg_surface.rs index c1d908be..7031d189 100644 --- a/src/ifs/wl_surface/xdg_surface.rs +++ b/src/ifs/wl_surface/xdg_surface.rs @@ -251,6 +251,10 @@ impl XdgSurface { fn set_window_geometry(&self, parser: MsgParser<'_, '_>) -> Result<(), XdgSurfaceError> { let req: SetWindowGeometry = self.surface.client.parse(self, parser)?; + if req.height == 0 && req.width == 0 { + // TODO: https://crbug.com/1329214 + return Ok(()); + } if req.height <= 0 || req.width <= 0 { return Err(XdgSurfaceError::NonPositiveWidthHeight); }