From 4817a4559b66bcee4002cc3e489a4bde359fdea0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 22 Sep 2025 11:27:32 +0530 Subject: [PATCH] ... --- kitty/rc/resize_os_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/rc/resize_os_window.py b/kitty/rc/resize_os_window.py index f5b63aa3d..1cd8927bc 100644 --- a/kitty/rc/resize_os_window.py +++ b/kitty/rc/resize_os_window.py @@ -151,10 +151,10 @@ def response_from_kitty(self, boss: Boss, window: Window | None, payload_get: Pa if existing is None: raise RemoteControlErrorWithoutTraceback( f'The OS Window {os_window_id} has no panel configuration') - for option in seen_options.keys(): + for option in seen_options: for config in cli_option_to_lsc_configs_map[option]: existing[config] = getattr(lsc, config) - if seen_options.get('edge', None) == 'background': + if seen_options.get('edge') == 'background': existing['type'] = GLFW_LAYER_SHELL_BACKGROUND if existing['hide_on_focus_loss']: existing['focus_policy'] = GLFW_FOCUS_ON_DEMAND