core: 明确布局函数返回语义与 floating 布局约定

This commit is contained in:
2026-03-12 05:46:28 +08:00
parent 1bee0de9f9
commit 499030bd04
11 changed files with 300 additions and 11 deletions

11
src/core/runtime.h Normal file
View File

@@ -0,0 +1,11 @@
#include "core/state.h"
typedef struct wm_runtime_t {
bool running;
bool will_restart;
wm_state_t state;
} wm_runtime_t;
bool wm_runtime_init(wm_runtime_t *runtime);
void wm_runtime_shutdown(wm_runtime_t *runtime);