mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
include/: refactor header files more
This commit is contained in:
parent
53266a0d5a
commit
4d1363dcae
32 changed files with 130 additions and 78 deletions
18
include/config/keybind.h
Normal file
18
include/config/keybind.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef __LABWC_KEYBIND_H
|
||||
#define __LABWC_KEYBIND_H
|
||||
|
||||
#include <wlr/types/wlr_keyboard.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
struct keybind {
|
||||
uint32_t modifiers;
|
||||
xkb_keysym_t *keysyms;
|
||||
size_t keysyms_len;
|
||||
char *action;
|
||||
char *command;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct keybind *keybind_add(const char *keybind);
|
||||
|
||||
#endif /* __LABWC_KEYBIND_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue