mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
wl_surf: Add invalidated function callback
This commit is contained in:
parent
8d99aae1d1
commit
aa3d0060c2
3 changed files with 67 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue