gtk-ng: tell systemd when Ghostty is ready
parent
b8dd767fe4
commit
95df073455
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue