gtk-ng: tell systemd when Ghostty is ready

pull/8070/head
Jeffrey C. Ollie 2025-07-25 15:16:50 -05:00
parent b8dd767fe4
commit 95df073455
No known key found for this signature in database
GPG Key ID: 6F86035A6D97044E
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 CoreApp = @import("../../../App.zig");
const configpkg = @import("../../../config.zig"); const configpkg = @import("../../../config.zig");
const internal_os = @import("../../../os/main.zig"); const internal_os = @import("../../../os/main.zig");
const systemd = @import("../../../os/systemd.zig");
const terminal = @import("../../../terminal/main.zig"); const terminal = @import("../../../terminal/main.zig");
const xev = @import("../../../global.zig").xev; const xev = @import("../../../global.zig").xev;
const CoreConfig = configpkg.Config; const CoreConfig = configpkg.Config;
@ -376,6 +377,9 @@ pub const Application = extern struct {
return; return;
} }
// Tell systemd that we are ready.
systemd.notify.ready();
log.debug("entering runloop", .{}); log.debug("entering runloop", .{});
defer log.debug("exiting runloop", .{}); defer log.debug("exiting runloop", .{});
priv.running = true; priv.running = true;