mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 18:06:33 +00:00
renderer/metal: stop/start display link on occlusion
This commit is contained in:
@@ -272,6 +272,9 @@ fn drainMailbox(self: *Thread) !void {
|
||||
// still be happening.
|
||||
if (v) self.drawFrame();
|
||||
|
||||
// Notify the renderer so it can update any state.
|
||||
self.renderer.setVisible(v);
|
||||
|
||||
// Note that we're explicitly today not stopping any
|
||||
// cursor timers, draw timers, etc. These things have very
|
||||
// little resource cost and properly maintaining their active
|
||||
|
Reference in New Issue
Block a user