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

commit16572613af878d91df8f43fe034fb77d14aed3f9
parente75baf0300
authorIsaac Freund <[email protected]>
date2020-06-08 01:16
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();
         }