diff --git a/src/apprt/embedded.zig b/src/apprt/embedded.zig index 8d12085a8..b782ba8cf 100644 --- a/src/apprt/embedded.zig +++ b/src/apprt/embedded.zig @@ -486,7 +486,7 @@ pub const CAPI = struct { /// Request that the surface become closed. This will go through the /// normal trigger process that a close surface input binding would. export fn ghostty_surface_request_close(ptr: *Surface) void { - ptr.closeSurface() catch {}; + ptr.close(); } /// Request that the surface split in the given direction.