aboutsummaryrefslogtreecommitdiff
path: root/src/c.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-05-08 14:51:10 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-05-08 14:51:10 +0200
commitac735719cfc086c54ff939786823b29de2c24c0a (patch)
treec8ee87c720b067bbf8a757e8ea098d2b87393141 /src/c.zig
parent71d580b81173c6e6f93354c6e783972a6aa37b27 (diff)
downloadriver-ac735719cfc086c54ff939786823b29de2c24c0a.tar.gz
river-ac735719cfc086c54ff939786823b29de2c24c0a.tar.xz
Implement initial Xwayland support
Diffstat (limited to 'src/c.zig')
-rw-r--r--src/c.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c.zig b/src/c.zig
index c36f0a0..aae0095 100644
--- a/src/c.zig
+++ b/src/c.zig
@@ -40,6 +40,7 @@ pub usingnamespace @cImport({
@cInclude("wlr/types/wlr_xdg_decoration_v1.h");
@cInclude("wlr/types/wlr_xdg_output_v1.h");
@cInclude("wlr/types/wlr_xdg_shell.h");
+ if (@import("build_options").xwayland) @cInclude("wlr/xwayland.h");
@cInclude("wlr/util/log.h");
@cInclude("xkbcommon/xkbcommon.h");