mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
![Emilio Cobos Álvarez](/assets/img/avatar_default.png)
Once we detect we're idle, remove the idle timer (until the frame callback fires again, which would start the timer). That makes vsync not fire at 1Hz on occluded windows (it makes vsync not fire at all for those). Matching the windows behavior too. We had this so that we didn't leak in bug 1786247, but the right fix is bug 1828587. Differential Revision: https://phabricator.services.mozilla.com/D176282