From be9dda0aa47bd6d8bcbcd073fc85ffb7b5462247 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 25 Aug 2023 14:56:43 +0530 Subject: [PATCH] Fix incorrect shader recompile on settings change Fixes #6559 --- docs/changelog.rst | 3 +++ kitty/shaders.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 9e91ae70e..1018d9a32 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -61,6 +61,9 @@ Detailed list of changes - Remote control: Allow matching by neighbor of active window. Useful for navigation plugins like vim-kitty-navigator +- Fix a regression that caused changing :opt:`text_fg_override_threshold` or :opt:`text_composition_strategy` via config reload causing incorrect rendering (:iss:`6559`) + + 0.29.2 [2023-07-27] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/shaders.py b/kitty/shaders.py index 7063110d1..a99617262 100644 --- a/kitty/shaders.py +++ b/kitty/shaders.py @@ -197,7 +197,7 @@ class LoadShaderPrograms: graphics.compile(p, allow_recompile) program_for('bgimage').compile(BGIMAGE_PROGRAM, allow_recompile) - program_for('tint').compile(TINT_PROGRAM) + program_for('tint').compile(TINT_PROGRAM, allow_recompile) init_cell_program()