aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-31 14:33:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-08-07 14:53:19 +0000
commit698c5b54f32c885304d5e2ff55580ce7f52b5da7 (patch)
treea8020d0903f63bc7f1bc85ca3f97c32edfb1be1b /meson.build
parentwayland: fractional-scale-v1 is now always available (diff)
wayland: cursor-shape-v1 is now always available
Since we're requiring wayland-protocols >= 1.32
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build14
1 files changed, 2 insertions, 12 deletions
diff --git a/meson.build b/meson.build
index 2e3c64ac..729d8f03 100644
--- a/meson.build
+++ b/meson.build
@@ -155,19 +155,10 @@ wl_proto_xml = [
wayland_protocols_datadir + '/staging/xdg-activation/xdg-activation-v1.xml',
wayland_protocols_datadir + '/stable/viewporter/viewporter.xml',
wayland_protocols_datadir + '/staging/fractional-scale/fractional-scale-v1.xml',
+ wayland_protocols_datadir + '/unstable/tablet/tablet-unstable-v2.xml', # required by cursor-shape-v1
+ wayland_protocols_datadir + '/staging/cursor-shape/cursor-shape-v1.xml',
]
-if wayland_protocols.version().version_compare('>=1.32')
- wl_proto_xml += [
- wayland_protocols_datadir + '/unstable/tablet/tablet-unstable-v2.xml', # required by cursor-shape-v1
- wayland_protocols_datadir + '/staging/cursor-shape/cursor-shape-v1.xml',
- ]
- add_project_arguments('-DHAVE_CURSOR_SHAPE', language: 'c')
- cursor_shape = true
-else
- cursor_shape = false
-endif
-
foreach prot : wl_proto_xml
wl_proto_headers += custom_target(
prot.underscorify() + '-client-header',
@@ -382,7 +373,6 @@ summary(
'Themes': get_option('themes'),
'IME': get_option('ime'),
'Grapheme clustering': utf8proc.found(),
- 'Wayland: cursor-shape-v1': cursor_shape,
'utmp backend': utmp_backend,
'utmp helper default path': utmp_default_helper_path,
'Build terminfo': tic.found(),