[client] wayland: activate our window if we're allowed

This commit is contained in:
Tudor Brindus 2022-02-06 16:30:20 -05:00 committed by Geoffrey McRae
parent da548e3858
commit 969ac4d1d1

View File

@ -44,6 +44,7 @@ void waylandActivationFree(void)
static void activationTokenDone(void * data, static void activationTokenDone(void * data,
struct xdg_activation_token_v1 * xdgToken, const char * token) struct xdg_activation_token_v1 * xdgToken, const char * token)
{ {
xdg_activation_v1_activate(wlWm.xdgActivation, token, wlWm.surface);
xdg_activation_token_v1_destroy(xdgToken); xdg_activation_token_v1_destroy(xdgToken);
} }