core: 窗口分层类型与接口草案

This commit is contained in:
2026-03-24 23:40:46 +08:00
parent e6b4486f89
commit dee0a19f34
5 changed files with 107 additions and 16 deletions

8
src/core/policy.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#include "core/layer.h"
#include "core/state.h"
#include "core/types.h"
layer_type_t policy_adjust_window_layer_from_transient(
const state_t *state, window_id_t transient_for, layer_type_t base_layer);