Files
ghostty/src
Mitchell Hashimoto 587f47a587 apprt/gtk-ng: clean up our single instance, new window interactions
This removes `launched-from` entirely and moves our `gtk-single-instance`
detection logic to assume true unless we detect CLI instead of assume
false unless we detect desktop/dbus/systemd.

The "assume true" scenario for single instance is desirable because
detecting a CLI instance is much more reliable.

Removing `launched-from` fixes an issue where we had a
difficult-to-understand relationship between `launched-from`,
`gtk-single-instance`, and `initial-window`. Now, only
`gtk-single-instance` has some hueristic logic. And `initial-window`
ALWAYS sends a GTK activation signal regardless of single instance or
not.

As a result, we need to be explicit in our systemd, dbus, desktop files
about what we want Ghostty to do, but everything works as you'd mostly
expect.

Now, if you put plain old `ghostty` in your terminal, you get a new
Ghostty instance. If you put it anywhere else, you get a GTK single
instance activation call (either creates a first instance or opens a new
window in the existing instance). Works for launchers and so on.
2025-09-05 10:17:17 -05:00
..
2025-08-30 13:58:25 -05:00
2025-09-05 10:10:52 +02:00
2025-09-05 10:10:52 +02:00
2025-09-05 07:23:37 -07:00
2025-09-05 10:10:52 +02:00
2025-08-24 09:10:21 +00:00
2025-09-05 07:23:37 -07:00
2025-01-18 22:47:18 +09:00
2025-09-05 10:10:52 +02:00
2025-05-26 21:50:14 -06:00
2025-07-19 14:03:48 -07:00
2025-09-05 10:10:52 +02:00
2025-08-06 14:54:02 +08:00
2025-07-09 15:06:24 -07:00
2024-08-16 14:35:10 -07:00
2025-07-09 15:06:24 -07:00
2022-08-18 11:42:32 -07:00
2025-06-21 14:11:50 -07:00
2025-05-09 10:01:05 -07:00
2024-08-16 10:36:10 -07:00