diff --git a/third_party/gpui/src/platform/linux/wayland/window.rs b/third_party/gpui/src/platform/linux/wayland/window.rs index 0ed2112..2e48fe5 100644 --- a/third_party/gpui/src/platform/linux/wayland/window.rs +++ b/third_party/gpui/src/platform/linux/wayland/window.rs @@ -1084,7 +1084,12 @@ impl PlatformWindow for WaylandWindow { )) } - fn sync_native_surface(&self, surface: &crate::NativeSurfaceHandle, bounds: Bounds) { + fn sync_native_surface( + &self, + surface: &crate::NativeSurfaceHandle, + bounds: Bounds, + _corner_radii: crate::Corners, + ) { let state = self.borrow(); let bounds = bounds.to_device_pixels(state.scale); if let Some(native_surface) = state.native_surfaces.get(&surface.identity()) { diff --git a/third_party/gpui/src/platform/linux/x11/window.rs b/third_party/gpui/src/platform/linux/x11/window.rs index 0cc1e61..01f1c84 100644 --- a/third_party/gpui/src/platform/linux/x11/window.rs +++ b/third_party/gpui/src/platform/linux/x11/window.rs @@ -1521,7 +1521,12 @@ impl PlatformWindow for X11Window { )) } - fn sync_native_surface(&self, surface: &NativeSurfaceHandle, bounds: Bounds) { + fn sync_native_surface( + &self, + surface: &NativeSurfaceHandle, + bounds: Bounds, + _corner_radii: crate::Corners, + ) { let state = self.0.state.borrow(); let bounds = bounds.to_device_pixels(state.scale_factor); drop(state); diff --git a/third_party/gpui/src/platform/windows/window.rs b/third_party/gpui/src/platform/windows/window.rs index c1d339a..92d2007 100644 --- a/third_party/gpui/src/platform/windows/window.rs +++ b/third_party/gpui/src/platform/windows/window.rs @@ -871,7 +871,12 @@ impl PlatformWindow for WindowsWindow { Some(NativeSurfaceHandle::from_win32_hwnd(hwnd.0 as isize)) } - fn sync_native_surface(&self, surface: &NativeSurfaceHandle, bounds: Bounds) { + fn sync_native_surface( + &self, + surface: &NativeSurfaceHandle, + bounds: Bounds, + _corner_radii: crate::Corners, + ) { let bounds = bounds.to_device_pixels(self.scale_factor()); let hwnd = HWND(surface.win32_hwnd() as _); unsafe {