From 5206933399775e5ff46baefbbb3a776c2a9bb84c Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 10:53:22 +0300 Subject: feat: add type-safe native platform headers and portable drag support - Add include/yasl/native/{wayland,cocoa,x11}.h with type-safe handle accessors. - Unify drag-and-drop and window carry support across Wayland, X11, and Cocoa. - Preserve full ABI compatibility for capability flags. - Install native headers conditionally based on enabled backend. - Include missing tablet example and backend test suites. --- meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c258765..6673240 100644 --- a/meson.build +++ b/meson.build @@ -83,6 +83,16 @@ install_headers( subdir: 'yasl', ) +if has_wayland + install_headers('include/yasl/native/wayland.h', subdir: 'yasl/native') +endif +if has_x11 + install_headers('include/yasl/native/x11.h', subdir: 'yasl/native') +endif +if has_cocoa + install_headers('include/yasl/native/cocoa.h', subdir: 'yasl/native') +endif + pkg = import('pkgconfig') pkg.generate( yasl_lib.get_shared_lib(), -- cgit v1.2.3