事件循环框架

This commit is contained in:
2026-04-01 16:08:01 +08:00
parent 90a25fb120
commit 196dab9bb3
11 changed files with 119 additions and 9 deletions

View File

@@ -15,13 +15,7 @@
#include "base/log.h"
#include "base/memory.h"
#include "core/types.h"
struct backend_t {
xcb_connection_t *conn;
xcb_screen_t *screen;
int screenp;
bool have_xfixes;
};
#include "internal.h" /* IWYU pragma: keep */
backend_t *backend_create(const char *display_name) {
int screen_num = 0;