RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process
editor: call paintStrip as a plain function
Claude7d4f5befb54e
diff --git a/src/editor/app_paint.zig b/src/editor/app_paint.zigindex 3fa5e58..457bc06 100644--- a/src/editor/app_paint.zig+++ b/src/editor/app_paint.zig@@ -257,7 +257,7 @@ fn paintStrip(self: *App, cr: *c.cairo_t) void {pub fn render(self: *App, cr: *c.cairo_t) void {const t = theme.global;fill(cr, 0, 0, @floatFromInt(self.w), @floatFromInt(self.h), t.app_bg);- if (!self.strip_in_titlebar) self.paintStrip(cr);+ if (!self.strip_in_titlebar) paintStrip(self, cr);if (self.find_open) self.paintSearch(cr);self.layouts.beginFrame();const pt = self.port();