mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +00:00
gtk: document effect of changing the class on launching Ghostty
This commit is contained in:
@@ -894,12 +894,17 @@ title: ?[:0]const u8 = null,
|
||||
/// The setting that will change the application class value.
|
||||
///
|
||||
/// This controls the class field of the `WM_CLASS` X11 property (when running
|
||||
/// under X11), and the Wayland application ID (when running under Wayland).
|
||||
/// under X11), the Wayland application ID (when running under Wayland), and the
|
||||
/// bus name that Ghostty uses to connect to DBus.
|
||||
///
|
||||
/// Note that changing this value between invocations will create new, separate
|
||||
/// instances, of Ghostty when running with `gtk-single-instance=true`. See that
|
||||
/// option for more details.
|
||||
///
|
||||
/// Changing this value may break launching Ghostty from `.desktop` files, via
|
||||
/// DBus activation, or systemd user services as the system is expecting Ghostty
|
||||
/// to connect to DBus using the default `class` when it is launched.
|
||||
///
|
||||
/// The class name must follow the requirements defined [in the GTK
|
||||
/// documentation](https://docs.gtk.org/gio/type_func.Application.id_is_valid.html).
|
||||
///
|
||||
|
Reference in New Issue
Block a user