mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 03:26:28 +00:00
macos: allow to hide decorations
This commit is contained in:
committed by
Mitchell Hashimoto
parent
63379ee2eb
commit
ed8b5bc283
@@ -119,6 +119,10 @@ export fn ghostty_config_get_error(self: *Config, idx: u32) Error {
|
||||
return .{ .message = err.message.ptr };
|
||||
}
|
||||
|
||||
export fn ghostty_config_render_decoration(self: *Config) bool {
|
||||
return self.@"window-decoration";
|
||||
}
|
||||
|
||||
/// Sync with ghostty_error_s
|
||||
const Error = extern struct {
|
||||
message: [*:0]const u8 = "",
|
||||
|
||||
Reference in New Issue
Block a user