From 5f45d30e36f8edad5e493b261afb7ffb54c70593 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 21 Oct 2026 06:26:04 +0530 Subject: [PATCH] Fix #10708 --- docs/changelog.rst | 2 ++ kitty/glfw.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 58034442a..9fe1458a7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -512,6 +512,8 @@ Detailed list of changes :option:`kitten @ set-colors --reset` not restoring them and not resetting all windows and the configured colors when used from the command line +- macOS: Fix padding rendering black after sleep/screen lock (:iss:`10708`) + - macOS: Fix a memory leak when getting the list of all processes, for example, when querying the memory used by child processes (:iss:`10673`) diff --git a/kitty/glfw.c b/kitty/glfw.c index b21c2edf2..43897bba7 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -367,6 +367,9 @@ cocoa_out_of_sequence_render(OSWindow *window) { request_tick_callback(); return; } + // Recreation creates a new context, which does not inherit per-context + // state such as uniform buffer binding points + bind_shader_globals_to_current_context(); } bool rendered = false;