diff --git a/docs/changelog.rst b/docs/changelog.rst index baaff1006..16c1b1354 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -208,6 +208,9 @@ Detailed list of changes - Fix a memory leak when loading a corrupt PNG image that has an embedded ICC color profile +- Custom shaders: The builtin :code:`dim-inactive-windows` shader no longer dims + the tab bar and the padding around the active window (:iss:`10524`) + 0.49.1 [2026-09-24] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/shaders/custom/dim-inactive-windows.pipeline b/kitty/shaders/custom/dim-inactive-windows.pipeline index c50c953d3..c6773f3fc 100644 --- a/kitty/shaders/custom/dim-inactive-windows.pipeline +++ b/kitty/shaders/custom/dim-inactive-windows.pipeline @@ -3,5 +3,9 @@ startgroup animation_step 0 var float HIGHLIGHT_INTENSITY = 0 var float BORDER_WIDTH = 0 + # do not dim the tab bar and treat the padding/title bar of the active + # window as part of it, so it is not surrounded by a dimmed frame + var bool DIM_CENTRAL_AREA_ONLY = true + var bool INCLUDE_WINDOW_PADDING = true shaders focus-highlight endgroup