wayland: add wayl_activate()

wayl_activate() takes an XDG activation token and does an XDG
activation request.
This commit is contained in:
Daniel Eklöf 2024-07-23 06:58:37 +02:00
parent a42f990818
commit 69f56b86b7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 15 additions and 2 deletions

View file

@ -499,3 +499,5 @@ void wayl_win_subsurface_destroy(struct wayl_sub_surface *surf);
bool wayl_get_activation_token(
struct wayland *wayl, struct seat *seat, uint32_t serial,
struct wl_window *win, activation_token_cb_t cb, void *cb_data);
void wayl_activate(struct wayland *wayl, struct wl_window *win, const char *token);