Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
transactions: set timeout back to 200ms
The change to 1000ms was an accident
river/Root.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/river/Root.zig b/river/Root.zig
index b84a568..f009d32 100644
--- a/river/Root.zig
+++ b/river/Root.zig
@@ -190,7 +190,7 @@ fn startTransaction(self: *Self) void {
);
// Set timeout to 200ms
- if (c.wl_event_source_timer_update(self.transaction_timer, 1000) < 0) {
+ if (c.wl_event_source_timer_update(self.transaction_timer, 200) < 0) {
Log.Error.log("failed to update timer.", .{});
self.commitTransaction();
}