pub struct Activated {
pub app: String,
pub bundle_id: Option<String>,
pub profile: Option<String>,
}Expand description
The application a focus request brought forward.
Reported back because a client names an application loosely and the daemon resolves it,
so the only way to know what actually came forward is to be told. An agent that asked
for "slack" and reads "Slack" back can say what it did with some confidence.
Fields§
§app: StringThe application’s own name for itself, as the system reports it.
bundle_id: Option<String>Its bundle identifier, when it has one.
profile: Option<String>Which browser profile window holds the target, when that is how it was found.
Present only when the match came from a browser’s open tabs rather than from a window, which is the case where raising the application is not enough on its own: a browser is one application holding many profile windows, and activation cannot choose between them. So this is the difference between “Chrome is in front of you” and “it is in the window called Your Chrome”, and the second is the one a user can act on.
It is the profile’s display name, the label in the browser’s own profile switcher. Nothing else read from the tab index ever reaches a client: not a title, not a URL, not how many matched.