Disable extra frames for ProMotion when screen is not active. (#7410)

This was causing an issue where windows about 1/10 of the way across the
display would hang for a fully second after being deactivated.

Release Notes:

- N/A

Co-authored-by: max <max@zed.dev>
Co-authored-by: nathan <nathan@zed.dev>
Co-authored-by: antonio <antonio@zed.dev>
c7c4166724Mikayla Maki committed on 2/5/2024, 10:48:54 PM· committed by GitHubparentd04a286
2 files changedLine totals unavailable