Stop display link when window is occluded (#7511)

Release Notes:

- Fixed a bug that caused the window to become unresponsive after
foregrounding.

---------

Co-authored-by: Conrad <conrad@zed.dev>
07fce7aae1Antonio Scandurra committed on 2/7/2024, 6:45:30 PM· committed by GitHubparent114889b
1 file changedLine totals unavailable