mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
The macOS compositor watchdog called webContents.setBackgroundThrottling(false) unconditionally for the window's whole lifetime. That disables Chromium's idle frame-rate throttling, so the GPU process's CADisplayLink never idles — pinning ProMotion panels at their maximum refresh rate (120Hz) continuously, even while the app is idle or occluded, which drains the battery. The call was never needed: the probe already skips non-producing windows via its screen-lock / isVisible / isMinimized / document.visibilityState guards, and the freeze it targets happens while the window is visible and focused, where background throttling never applies. Removing it lets the compositor idle and the display drop to a low adaptive rate when nothing animates; freeze detection is unaffected. A comment and a docs note keep it from being re-added. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>