设置快捷键

This commit is contained in:
2025-11-22 22:22:54 +08:00
parent 76f9e15130
commit e5927094d1
9 changed files with 93 additions and 6 deletions

View File

@@ -3,6 +3,7 @@
#include <stdint.h>
#include <xcb/xproto.h>
#include "action.h"
#include "xcursor.h"
typedef struct visual_t {
@@ -12,3 +13,5 @@ typedef struct visual_t {
visual_t *xwindow_get_xcb_visual(bool prefer_alpha);
void xwindow_change_cursor(xcb_window_t window, cursor_t cursor);
void xwindow_grab_keys(xcb_window_t window, const keyboard_t *keys,
int keys_length);