Create initial version of TagOverlay

It's an almost one-to-one clone of Leon Plickat's river-tag-overlay.
Right now, it's not wired up, so it doesn't do anything yet.
This commit is contained in:
Ben Buhse 2026-02-15 20:30:59 -06:00
commit 2c642d6cfc
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
5 changed files with 386 additions and 15 deletions

View file

@ -444,7 +444,7 @@ pub fn renderWallpaper(output: *Output) !void {
const image_stride = image.getStride();
const image_format = image.getFormat();
const buffer: *Buffer = try context.buffer_pool.nextBuffer(context.wl_shm, width * scale, height * scale);
const buffer = try context.buffer_pool.nextBuffer(context.wl_shm, width * scale, height * scale);
const pix = pixman.Image.createBitsNoClear(image_format, image_width, image_height, image_data, image_stride) orelse {
log.err("Failed to copy the wallpaper image for rendering", .{});