绘制 tag 标签

This commit is contained in:
2025-11-14 11:31:56 +08:00
parent a2e40bf63a
commit 14f321a45f
15 changed files with 642 additions and 9 deletions

View File

@@ -1 +1,11 @@
#pragma once
#include <stdint.h>
#include <xcb/xproto.h>
typedef struct visual_t {
uint8_t depth;
xcb_visualtype_t *visual;
} visual_t;
visual_t *xwindow_get_xcb_visual(bool prefer_alpha);