Skip to content

Commit 4817a45

Browse files
committed
...
1 parent 7536ce5 commit 4817a45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kitty/rc/resize_os_window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ def response_from_kitty(self, boss: Boss, window: Window | None, payload_get: Pa
151151
if existing is None:
152152
raise RemoteControlErrorWithoutTraceback(
153153
f'The OS Window {os_window_id} has no panel configuration')
154-
for option in seen_options.keys():
154+
for option in seen_options:
155155
for config in cli_option_to_lsc_configs_map[option]:
156156
existing[config] = getattr(lsc, config)
157-
if seen_options.get('edge', None) == 'background':
157+
if seen_options.get('edge') == 'background':
158158
existing['type'] = GLFW_LAYER_SHELL_BACKGROUND
159159
if existing['hide_on_focus_loss']:
160160
existing['focus_policy'] = GLFW_FOCUS_ON_DEMAND

0 commit comments

Comments
 (0)