mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-07-27 07:19:50 +02:00
Implement wp_cursor_shape_v1
This commit is contained in:
parent
43e1944607
commit
56b374b569
3 changed files with 57 additions and 3 deletions
|
@ -15,11 +15,18 @@ if backend_wayland
|
|||
|
||||
wl_proto_headers = []
|
||||
wl_proto_src = []
|
||||
foreach prot : [
|
||||
wl_proto_xml = [
|
||||
'../external/wlr-layer-shell-unstable-v1.xml',
|
||||
wayland_protocols_datadir + '/stable/xdg-shell/xdg-shell.xml',
|
||||
wayland_protocols_datadir + '/unstable/xdg-output/xdg-output-unstable-v1.xml']
|
||||
|
||||
if wayland_protocols.version().version_compare('>=1.32')
|
||||
wl_proto_xml += [
|
||||
wayland_protocols_datadir + '/staging/cursor-shape/cursor-shape-v1.xml',
|
||||
wayland_protocols_datadir + '/unstable/tablet/tablet-unstable-v2.xml']
|
||||
endif
|
||||
|
||||
foreach prot : wl_proto_xml
|
||||
wl_proto_headers += custom_target(
|
||||
prot.underscorify() + '-client-header',
|
||||
output: '@BASENAME@.h',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue