mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Rewrite action handling to allow multiple actions at once
This commit is contained in:
parent
a54ce40e1c
commit
0b45cce648
12 changed files with 276 additions and 140 deletions
|
|
@ -24,8 +24,7 @@ struct mousebind {
|
|||
|
||||
/* ex: doubleclick, press, drag */
|
||||
enum mouse_event mouse_event;
|
||||
const char *action;
|
||||
const char *command;
|
||||
struct wl_list actions;
|
||||
|
||||
struct wl_list link; /* rcxml::mousebinds */
|
||||
bool pressed_in_context; /* used in click events */
|
||||
|
|
@ -34,6 +33,5 @@ struct mousebind {
|
|||
enum mouse_event mousebind_event_from_str(const char *str);
|
||||
uint32_t mousebind_button_from_str(const char *str, uint32_t *modifiers);
|
||||
struct mousebind *mousebind_create(const char *context);
|
||||
struct mousebind *mousebind_create_from(struct mousebind *from, const char *context);
|
||||
|
||||
#endif /* __LABWC_MOUSEBIND_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue