Wayland: Add support for the idle-inhibit protocol

Closes #955.
This commit is contained in:
Emmanuel Gil Peyrot
2017-02-17 15:52:50 +00:00
committed by Camilla Löwy
parent b5e24676a4
commit 65166858ff
5 changed files with 46 additions and 1 deletions
+4
View File
@@ -47,6 +47,10 @@ elseif (_GLFW_WAYLAND)
PROTOCOL
"${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml"
BASENAME pointer-constraints-unstable-v1)
ecm_add_wayland_client_protocol(glfw_SOURCES
PROTOCOL
${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml
BASENAME idle-inhibit-unstable-v1)
elseif (_GLFW_MIR)
set(glfw_HEADERS ${common_HEADERS} mir_platform.h linux_joystick.h
posix_time.h posix_thread.h xkb_unicode.h egl_context.h