Try to incorporate touch in config

This commit is contained in:
grahnen 2019-01-16 19:15:39 +01:00 committed by Samuel Grahn
parent 79f3cf88a7
commit cb94176e27
6 changed files with 45 additions and 2 deletions

View file

@ -185,6 +185,7 @@ sway_cmd cmd_titlebar_padding;
sway_cmd cmd_unbindcode;
sway_cmd cmd_unbindswitch;
sway_cmd cmd_unbindsym;
sway_cmd cmd_touch;
sway_cmd cmd_unmark;
sway_cmd cmd_urgent;
sway_cmd cmd_workspace;

View file

@ -54,6 +54,11 @@ struct sway_binding {
char *command;
};
struct sway_gesture_binding {
struct libtouch_gesture *gesture;
char *command;
};
/**
* A mouse binding and an associated command.
*/
@ -91,6 +96,7 @@ struct sway_mode {
list_t *keycode_bindings;
list_t *mouse_bindings;
list_t *switch_bindings;
list_t *gesture_bindings;
bool pango;
};