Hand over focus to applications started from terminals
In wayland (at least in mutter) we have focus stealing prevention which allows windows to only steal focus from the current focus window if the current focus window requests an activation token and hand it to the new window that then is used by the new window to ask for focus, in this case the vte terminal is the current focus window and a new UI app that is started need to use a correct activation token. We need a way to pass the focus to the new application by handing over an activation token https://wayland.app/protocols/xdg-activation-v1. @ZanderBrown suggested we could use OSC terminal control sequences.
Edited by Julian Sparber