You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, according to the Wayland xdg-activation protocol, activation is not something that is limited to newly created windows. You can request activation on an existing window. It would be useful if the Window struct had a method to wrap this functionality, something like:
As an example use case, suppose an app was asked to handle a custom URI scheme (deep link) which was clicked in a web browser. In order to make it clear to the user that the app has handled the URI, it might want to request activation.
Relevant platforms
Wayland
The text was updated successfully, but these errors were encountered:
Description
The
WindowBuilder::with_activation_token
method allows the user to create a new window with an activation token on Linux.However, according to the Wayland xdg-activation protocol, activation is not something that is limited to newly created windows. You can request activation on an existing window. It would be useful if the
Window
struct had a method to wrap this functionality, something like:As an example use case, suppose an app was asked to handle a custom URI scheme (deep link) which was clicked in a web browser. In order to make it clear to the user that the app has handled the URI, it might want to request activation.
Relevant platforms
Wayland
The text was updated successfully, but these errors were encountered: