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;