diff --git a/docs/changelog.rst b/docs/changelog.rst index f1872b9b0..d0a86b0c2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -180,6 +180,8 @@ Detailed list of changes - macOS: Fix regression in 0.47.0 that broke passing :kbd:`Cmd+C` on to terminal applications when no text is selected (:iss:`10087`) +- ``kitten @ set-background-image``: Fix ``--layout=configured`` changing layout to centered instead (:iss:`10089`) + 0.47.1 [2026-05-28] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/rc/set_background_image.py b/kitty/rc/set_background_image.py index 4168d8851..4d80b17b2 100644 --- a/kitty/rc/set_background_image.py +++ b/kitty/rc/set_background_image.py @@ -144,6 +144,8 @@ failed, the command will exit with a success code. windows = self.windows_for_payload(boss, window, payload_get, window_match_name='match') os_windows = tuple({w.os_window_id for w in windows if w}) layout = payload_get('layout') + if layout == 'configured': + layout = None try: boss.set_background_image( path, os_windows, payload_get('configured'), layout, tfile.getvalue(),