From 3feef353d88bdbce38f87f5f2914f36a5420ade9 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 7 Feb 2026 15:40:02 -0600 Subject: [PATCH] gtk: clarify in the docs that config-reloads does not affect linux-cgroup* configs --- src/config/Config.zig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 8763d2e54..bb86b6bd5 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -3410,6 +3410,9 @@ keybind: Keybinds = .{}, /// initialization will fail. By default, this will not prevent Ghostty from /// working (see `linux-cgroup-hard-fail`). /// +/// Changing this value and reloading the config will not affect existing +/// surfaces. +/// /// Valid values are: /// /// * `never` - Never use cgroups. @@ -3429,6 +3432,9 @@ else /// `systemd-oom` to handle killing processes that have too much memory /// pressure. /// +/// Changing this value and reloading the config will not affect existing +/// surfaces. +/// /// See the `systemd.resource-control` manual page for more information: /// https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html @"linux-cgroup-memory-limit": ?u64 = null, @@ -3439,6 +3445,9 @@ else /// Note that this sets the `TasksMax` setting on the transient `systemd` scope, /// which is a hard limit. /// +/// Changing this value and reloading the config will not affect existing +/// surfaces. +/// /// See the `systemd.resource-control` manual page for more information: /// https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html @"linux-cgroup-processes-limit": ?u64 = null, @@ -3452,6 +3461,8 @@ else /// If this is true, then any transient `systemd` scope creation failure will /// cause surface creation to fail. /// +/// Changing this value and reloading the config will not affect existing +/// surfaces. @"linux-cgroup-hard-fail": bool = false, /// Enable or disable GTK's OpenGL debugging logs. The default is `true` for