mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 20:10:23 -04:00
use bool
Because it's 2020. Passing integers to wlroots variables and functions with bool in their signature is silly.
This commit is contained in:
parent
0b2f4f213d
commit
6b47e2bb62
2 changed files with 56 additions and 54 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue