fix: avoid input storms causing render storms by setting idle_frames to 2

This commit is contained in:
CJ van den Berg 2026-04-09 14:00:46 +02:00
parent 1b99b89b2c
commit 7b8a037627
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -113,7 +113,7 @@ pub const ClipboardEntry = struct {
}; };
const keepalive = std.time.us_per_day * 365; // one year const keepalive = std.time.us_per_day * 365; // one year
const idle_frames = 0; const idle_frames = 2;
const mouse_idle_time_milliseconds = 3000; const mouse_idle_time_milliseconds = 3000;
const init_delay = 1; // ms const init_delay = 1; // ms