gtk-ng: tell systemd when Ghostty is ready

This commit is contained in:
Jeffrey C. Ollie
2025-07-25 15:16:50 -05:00
parent b8dd767fe4
commit 95df073455

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;