gtk-ng: tell systemd when Ghostty is ready (#8070)

pull/8069/head
Mitchell Hashimoto 2025-07-25 13:36:45 -07:00 committed by GitHub
commit 20b6d8ad79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@ const cgroup = @import("../cgroup.zig");
const CoreApp = @import("../../../App.zig");
const configpkg = @import("../../../config.zig");
const internal_os = @import("../../../os/main.zig");
const systemd = @import("../../../os/systemd.zig");
const terminal = @import("../../../terminal/main.zig");
const xev = @import("../../../global.zig").xev;
const CoreConfig = configpkg.Config;
@ -376,6 +377,9 @@ pub const Application = extern struct {
return;
}
// Tell systemd that we are ready.
systemd.notify.ready();
log.debug("entering runloop", .{});
defer log.debug("exiting runloop", .{});
priv.running = true;