git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit8e1f6d3fe704eca220fce3855ede1cfd9891448d
parent84422047f6
authorLeon Henrik Plickat <[email protected]>
date2024-02-15 11:41
river: fix names of input config settings

 river/InputConfig.zig | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/river/InputConfig.zig b/river/InputConfig.zig
index 7763974..cf1e478 100644
--- a/river/InputConfig.zig
+++ b/river/InputConfig.zig
@@ -264,16 +264,17 @@ pub const ScrollButton = struct {
 
 identifier: []const u8,
 
-@"event-state": ?EventState = null,
+// Note: Field names equal name of the setting in the 'input' command.
+events: ?EventState = null,
 @"accel-profile": ?AccelProfile = null,
 @"click-method": ?ClickMethod = null,
-@"drag-state": ?DragState = null,
+drag: ?DragState = null,
 @"drag-lock": ?DragLock = null,
-@"dwt-state": ?DwtState = null,
+@"disable-while-typing": ?DwtState = null,
 @"middle-emulation": ?MiddleEmulation = null,
 @"natural-scroll": ?NaturalScroll = null,
 @"left-handed": ?LeftHanded = null,
-@"tap-state": ?TapState = null,
+tap: ?TapState = null,
 @"tap-button-map": ?TapButtonMap = null,
 @"pointer-accel": ?PointerAccel = null,
 @"scroll-method": ?ScrollMethod = null,