mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 14:00:29 +00:00
macos: set the proper app focus state
This commit is contained in:
@@ -288,6 +288,7 @@ pub fn setQuit(self: *App) !void {
|
||||
/// This is separate from surface focus events. See the `focused`
|
||||
/// field for more information.
|
||||
pub fn focusEvent(self: *App, focused: bool) void {
|
||||
log.debug("focus event focused={}", .{focused});
|
||||
self.focused = focused;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user