添加快捷键设置

This commit is contained in:
2025-08-19 21:37:57 +08:00
parent bb61bfcd2e
commit 2a7ab324be
8 changed files with 113 additions and 5 deletions

View File

@@ -2,8 +2,10 @@
#include <X11/cursorfont.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <xcb/xproto.h>
#include "types.h"
bool has_other_wm_running(void);
int get_xcb_connection_fd(void);
@@ -56,6 +58,8 @@ window_list_t *scan_window_list(void);
void free_window_list(window_list_t *window_list);
void clean_xcb(void);
void grab_keybindings(const keybinding_t *keys, const size_t length);
bool get_xresource_uint32(const char *name, uint32_t *value);
void get_xresource_string(const char *name, char **value, const char *fallback);
void clean_xresource(void);