mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Fix #10058
This commit is contained in:
@@ -180,6 +180,8 @@ Detailed list of changes
|
||||
|
||||
- macOS: Fix a regression in the previous release that caused URLs to be quoted when dropping into shells (:iss:`10054`)
|
||||
|
||||
- Fix a regression in the previous release that broke automatic color scheme changes when using a background image (:iss:`10058`)
|
||||
|
||||
0.47.0 [2026-05-19]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Colors = tuple[ColorsSpec, TransparentBackgroundColors]
|
||||
|
||||
|
||||
class BackgroundImageOptions(TypedDict, total=False):
|
||||
background_image: str | None
|
||||
background_image: Sequence[str] | None
|
||||
background_image_layout: str | None
|
||||
background_image_linear: bool | None
|
||||
background_tint: float | None
|
||||
@@ -292,8 +292,9 @@ def patch_colors(
|
||||
notify_bg = notify_on_bg_change and default_bg_changed
|
||||
boss = get_boss()
|
||||
if background_image_options is not None:
|
||||
bg = background_image_options.get('background_image')
|
||||
boss.set_background_image(
|
||||
background_image_options.get('background_image'), tuple(os_window_ids), configured,
|
||||
bg[0] if bg else None, tuple(os_window_ids), configured,
|
||||
layout=background_image_options.get('background_image_layout'),
|
||||
linear_interpolation=background_image_options.get('background_image_linear'), tint=background_image_options.get('background_tint'),
|
||||
tint_gaps=background_image_options.get('background_tint_gaps'))
|
||||
|
||||
Reference in New Issue
Block a user