From 1d1c75b6316d21933069a9d201f966d84099f6ca Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Dec 2021 17:25:44 +0100 Subject: Add support for ext-session-lock-v1 This is a new protocol to lock the session [1]. It should be more reliable than layer-shell + input-inhibitor. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/131 --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index fc1f61c..3b349c7 100644 --- a/meson.build +++ b/meson.build @@ -36,7 +36,7 @@ if is_freebsd endif wayland_client = dependency('wayland-client') -wayland_protos = dependency('wayland-protocols', version: '>=1.14', fallback: 'wayland-protocols') +wayland_protos = dependency('wayland-protocols', version: '>=1.25', fallback: 'wayland-protocols') xkbcommon = dependency('xkbcommon') cairo = dependency('cairo') gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf')) @@ -86,6 +86,7 @@ client_protos_headers = [] client_protocols = [ [wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'], [wl_protocol_dir, 'unstable/xdg-output/xdg-output-unstable-v1.xml'], + [wl_protocol_dir, 'staging/ext-session-lock/ext-session-lock-v1.xml'], ['wlr-layer-shell-unstable-v1.xml'], ['wlr-input-inhibitor-unstable-v1.xml'], ] -- cgit v1.2.3