wl_surf: Add invalidated function callback

This commit is contained in:
Alexander Orzechowski 2022-12-04 19:19:48 -05:00
parent 8d99aae1d1
commit aa3d0060c2
3 changed files with 67 additions and 0 deletions

View file

@ -135,6 +135,12 @@ if wayland_protocols.version().version_compare('>=1.21')
wl_proto_xml += [wayland_protocols_datadir + '/staging/xdg-activation/xdg-activation-v1.xml']
endif
# TODO: Update when this protocol is actually released
if wayland_protocols.version().version_compare('>=1.21')
add_project_arguments('-DHAVE_SURFACE_INVALIDATION', language: 'c')
wl_proto_xml += [ wayland_protocols_datadir + '/staging/surface-invalidation/surface-invalidation-v1.xml']
endif
foreach prot : wl_proto_xml
wl_proto_headers += custom_target(
prot.underscorify() + '-client-header',