mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/action.c: Convert action->arg to a list of action_arg
In preperation for Actions that require multiple arguments
This commit is contained in:
parent
baaee26937
commit
9b49f19a73
8 changed files with 142 additions and 61 deletions
|
|
@ -11,8 +11,8 @@ struct keybind {
|
|||
uint32_t modifiers;
|
||||
xkb_keysym_t *keysyms;
|
||||
size_t keysyms_len;
|
||||
struct wl_list actions;
|
||||
struct wl_list link;
|
||||
struct wl_list actions; /* struct action.link */
|
||||
struct wl_list link; /* struct rcxml.keybinds */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ struct mousebind {
|
|||
|
||||
/* ex: doubleclick, press, drag */
|
||||
enum mouse_event mouse_event;
|
||||
struct wl_list actions;
|
||||
struct wl_list actions; /* struct action.link */
|
||||
|
||||
struct wl_list link; /* rcxml::mousebinds */
|
||||
struct wl_list link; /* struct rcxml.mousebinds */
|
||||
bool pressed_in_context; /* used in click events */
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -37,11 +37,11 @@ struct rcxml {
|
|||
/* keyboard */
|
||||
int repeat_rate;
|
||||
int repeat_delay;
|
||||
struct wl_list keybinds;
|
||||
struct wl_list keybinds; /* struct keybind.link */
|
||||
|
||||
/* mouse */
|
||||
long doubleclick_time; /* in ms */
|
||||
struct wl_list mousebinds;
|
||||
long doubleclick_time; /* in ms */
|
||||
struct wl_list mousebinds; /* struct mousebind.link */
|
||||
|
||||
/* libinput */
|
||||
struct wl_list libinput_categories;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue