X11 API partial cleanup

This commit is contained in:
2026-01-08 22:17:06 +01:00
parent 1e8e14ed67
commit 99f8ae059c
4 changed files with 1565 additions and 1425 deletions

View File

@@ -71,8 +71,10 @@ pub fn build(b: *std.Build) void {
if (b.args) |args| {
run_cmd.addArgs(args);
}
// TODO It does not look like the cleanest solution, however, the build
// system code is too cryptic to come up with a better solution and the
// Internet is surprisingly silent about this very basic use case.
run_cmd.setCwd(.{ .cwd_relative = b.exe_dir });
//run_cmd.setCwd(exe.getEmittedBinDirectory());
const run_step = b.step("run", "Run the app");
run_step.dependOn(&run_cmd.step);