diff options
author | Guido Cella <guido@guidocella.xyz> | 2020-12-20 13:51:40 +0100 |
---|---|---|
committer | Guido Cella <guido@guidocella.xyz> | 2020-12-20 14:57:39 +0100 |
commit | 6b47e2bb621dfba333fb9bd9839b8128c88e58c2 (patch) | |
tree | 59cf2b678e408f1e9ba80c08f6d1147114edbf74 /config.def.h | |
parent | 0b2f4f213dc142824aac31e78ee32fb888fbb765 (diff) |
use bool
Because it's 2020. Passing integers to wlroots variables and functions
with bool in their signature is silly.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index fc30ba8..5e33204 100644 --- a/config.def.h +++ b/config.def.h @@ -1,5 +1,5 @@ /* appearance */ -static const int sloppyfocus = 1; /* focus follows mouse */ +static const bool sloppyfocus = true; /* focus follows mouse */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const float rootcolor[] = {0.3, 0.3, 0.3, 1.0}; static const float bordercolor[] = {0.5, 0.5, 0.5, 1.0}; @@ -46,8 +46,8 @@ static const int repeat_rate = 25; static const int repeat_delay = 600; /* Trackpad */ -static const int tap_to_click = 1; -static const int natural_scrolling = 1; +static const bool tap_to_click = true; +static const bool natural_scrolling = true; #define MODKEY WLR_MODIFIER_ALT #define TAGKEYS(KEY,SKEY,TAG) \ |