添加信号处理

This commit is contained in:
2025-10-08 11:08:03 +08:00
parent b8231b78ff
commit c575092c00
11 changed files with 402 additions and 3 deletions

8
src/types.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#include <glib.h>
typedef struct zdwm_t {
bool need_restart;
GMainLoop *loop;
} zdwm_t;