Remove useless code

default_background_changed is meant for individual windows not OS windows
This commit is contained in:
Kovid Goyal 2025-05-05 20:25:08 +05:30
parent 05e6ed685b
commit 53bb4f0609
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -3027,8 +3027,6 @@ def chosen(ans: None | int | str) -> None:
def set_background_image(self, path: str | None, os_windows: tuple[int, ...], configured: bool, layout: str | None, png_data: bytes = b'') -> None:
set_background_image(path, os_windows, configured, layout, png_data)
for os_window_id in os_windows:
self.default_bg_changed_for(os_window_id)
# Can be called with kitty -o "map f1 send_test_notification"
def send_test_notification(self) -> None: