feat(core+backend/X11): 实现窗口边框管理和焦点跟随鼠标

This commit is contained in:
2026-05-02 00:46:13 +08:00
parent 1cfa2c4505
commit d90cebe0c2
23 changed files with 272 additions and 87 deletions

View File

@@ -3,7 +3,6 @@
#include <stddef.h>
#include <stdint.h>
#include "base/color.h"
#include "core/backend.h"
#include "core/binding.h"
#include "core/command_buffer.h"
@@ -13,12 +12,6 @@
#include "core/state.h"
#include "core/types.h"
typedef struct border_config_t {
uint32_t width;
color_t normal_color;
color_t focused_color;
} border_config_t;
typedef struct runtime_init_desc_t {
backend_t *backend;
output_info_t *outputs;