fix: avoid input storms causing render storms by setting idle_frames to 2
This commit is contained in:
parent
1b99b89b2c
commit
7b8a037627
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue