计算 bar 高度

This commit is contained in:
2025-11-14 05:39:04 +08:00
parent 99389a763d
commit a2e40bf63a
7 changed files with 123 additions and 4 deletions

View File

@@ -19,7 +19,15 @@ project(${APP_NAME}
LANGUAGES C
)
add_executable(${APP_NAME} wm.c utils.c buffer.c backtrace.c monitor.c client.c)
add_executable(${APP_NAME}
wm.c
utils.c
buffer.c
backtrace.c
monitor.c
client.c
text.c
)
# use C23
set_property(TARGET ${APP_NAME} PROPERTY C_STANDARD 23)
@@ -34,6 +42,9 @@ pkg_check_modules(deps REQUIRED
xcb-randr
xcb-xfixes
xcb-xinerama
pango
pangocairo
)
target_include_directories(${APP_NAME} SYSTEM