mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Wayland: Implement glfwRequestWindowAttention
This implements window attention requests via the xdg-activation-v1 protocol. This was updated by @ elmindreda to work with recent Wayland related changes to the main branch: - Switched to current way of handling Wayland protocol files - Added the xdg-activation-v1.xml protocol file to deps/wayland - Added missing macros to rename protocol interface globals The protocol file was copied from wayland-protocols 1.33. Closes #2287
This commit is contained in:
committed by
Camilla Löwy
parent
2590d4cdd4
commit
9317970243
@@ -140,6 +140,12 @@ GLFW itself, using the
|
||||
alongside subsurfaces. If the running compositor does not support these
|
||||
protocols either, no decorations will be drawn around windows.
|
||||
|
||||
GLFW uses the [xdg-activation
|
||||
protocol](https://cgit.freedesktop.org/wayland/wayland-protocols/tree/staging/xdg-activation/xdg-activation-v1.xml)
|
||||
to enable attention requests. This protocol is part of
|
||||
wayland-protocols staging, and mandatory at build time. If the running compositor
|
||||
does not support this protocol, the attention requests do nothing.
|
||||
|
||||
|
||||
@section compat_glx GLX extensions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user