> @dkondor Shouldn't also the environment variable `XDG_ACTIVATION_TOKEN` be 
> supported?
> 
> https://discourse.gnome.org/t/understanding-gnome-shell-s-focus-stealing-prevention/23434
>  https://bugzilla.mozilla.org/show_bug.cgi?id=1767546

Yes, likely, actually `XDG_ACTIVATION_TOKEN` is the Wayland standard, but it is 
recommended to use `DESKTOP_STARTUP_ID` as well for interoperability:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/staging/xdg-activation/x11-interoperation.rst?ref_type=heads

Gio seems to set both when using a `GdkAppLaunchContext`, see 
[here](https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdesktopappinfo.c?ref_type=heads#L2964),
 but other libraries might use only one of them.

I'll add `XDG_ACTIVATION_TOKEN` as well


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4071#issuecomment-2502008076
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/4071/[email protected]>

Reply via email to