tweak trackpad variables

Add static const and move them below in order to group the keyboard
options.
This commit is contained in:
Guido Cella 2020-12-19 18:39:30 +01:00
parent aa679c4f29
commit feeacc88c4

View file

@ -42,13 +42,13 @@ static const struct xkb_rule_names xkb_rules = {
*/ */
}; };
/* Trackpad */
int tap_to_click = 1;
int natural_scrolling = 1;
static const int repeat_rate = 25; static const int repeat_rate = 25;
static const int repeat_delay = 600; static const int repeat_delay = 600;
/* Trackpad */
static const int tap_to_click = 1;
static const int natural_scrolling = 1;
#define MODKEY WLR_MODIFIER_ALT #define MODKEY WLR_MODIFIER_ALT
#define TAGKEYS(KEY,SKEY,TAG) \ #define TAGKEYS(KEY,SKEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \