Skip to content

Emit the ActivationToken signal #13

@VixieTSQ

Description

@VixieTSQ

The DBus notification specification includes this signal called ActivationToken which allows us to emit an activation token (Can be either an X11-style startup ID (see Startup notification protocol) or a Wayland xdg-activation token.)

The intent is to emit this signal before emitting the ActionInvoked signal, which tells the window manager to hand off focus to the application which created the notification associated with the action. An example of how this works is with Firefox. Say we get a Discord notification. When we tell end to invoke the default action with that Discord notification. It will first emit the ActivationToken which will cause the window manager to switch workspaces and focus Firefox. Then we emit the ActionInvoked which Firefox will take and switch tabs to Discord.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions