This commit is contained in:
2026-05-09 18:38:24 +07:00
parent fe011cb26b
commit 04ddc6bd31
8 changed files with 178 additions and 71 deletions
+15 -1
View File
@@ -33,7 +33,8 @@
(L).notify = (C); \
wl_signal_add(&(E), &(L)); \
} while (0);
#define UNUSED(X) (void)(X)
#define UNUSED(X) (void)(X)
#define CLEANMASK(M) (M & ~WLR_MODIFIER_CAPS)
/* cursor mode */
enum {
@@ -224,4 +225,17 @@ typedef struct {
struct wl_listener destroy;
} absn_keyboard;
typedef struct {
int i;
float f;
const void *v;
} absn_arg;
typedef struct {
uint32_t mods;
xkb_keysym_t keysym;
void (*cb)(absn_server *, const absn_arg *);
const absn_arg arg;
} absn_keybind;
#endif /* __TYPES_H_ */