apprt/embedded: incorrect function call for new close surface

This commit is contained in:
Mitchell Hashimoto
2023-03-18 19:40:42 -07:00
parent 91c9655475
commit ddbc0dc586

View File

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