feat: Use xkb_keymap_mod_get_mask in EiKeyState if available

Introduced in xkbcommon v1.10.0
This commit is contained in:
Nick Bolton
2025-08-14 21:34:17 +01:00
parent 3e96c4d0aa
commit 4302d50a42
4 changed files with 42 additions and 23 deletions

View File

@ -162,6 +162,8 @@ macro(configure_unix_libs)
find_library(LIBM m)
include_directories(${LIBXKBCOMMON_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS}
${LIBM_INCLUDE_DIRS})
message(STATUS "xkbcommon version: ${LIBXKBCOMMON_VERSION}")
else()
message(WARNING "pkg-config not found, skipping wayland libraries")
endif()