mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk-ng: tell systemd when Ghostty is ready (#8070)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user