mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Wayland: Implement glfwFocusWindow
This implements window focus requests via the xdg-activation-v1 protocol. These requests will likely only work when another window of the same application already has input focus, but that isn't unlike the behavior of other platforms. The GLFW_FEATURE_UNAVAILABLE error has been removed from this function for now. Related to #2284 Related to #2306 Related to #2439
This commit is contained in:
@@ -142,9 +142,8 @@ protocols either, no decorations will be drawn around windows.
|
||||
|
||||
GLFW uses the [xdg-activation
|
||||
protocol](https://wayland.app/protocols/xdg-activation-v1)
|
||||
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.
|
||||
to implement window focus and attention requests. If the running compositor
|
||||
does not support this protocol, window focus and attention requests do nothing.
|
||||
|
||||
|
||||
@section compat_glx GLX extensions
|
||||
|
||||
Reference in New Issue
Block a user