mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Wayland: Fix formatting of attention request
This commit is contained in:
parent
9317970243
commit
bdedec9932
@ -2367,8 +2367,11 @@ void _glfwRequestWindowAttentionWayland(_GLFWwindow* window)
|
||||
if (window->wl.activationToken)
|
||||
xdg_activation_token_v1_destroy(window->wl.activationToken);
|
||||
|
||||
window->wl.activationToken = xdg_activation_v1_get_activation_token(_glfw.wl.activationManager);
|
||||
xdg_activation_token_v1_add_listener(window->wl.activationToken, &xdgActivationListener, window);
|
||||
window->wl.activationToken =
|
||||
xdg_activation_v1_get_activation_token(_glfw.wl.activationManager);
|
||||
xdg_activation_token_v1_add_listener(window->wl.activationToken,
|
||||
&xdgActivationListener,
|
||||
window);
|
||||
|
||||
xdg_activation_token_v1_commit(window->wl.activationToken);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user