From aa339a8a9fa86935e3a4c94c70465e5de774d136 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 25 Jul 2021 13:59:36 +0530 Subject: [PATCH] Expose parameter in boss.py as well --- kitty/boss.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kitty/boss.py b/kitty/boss.py index 3f09b827e..f2779f3ee 100755 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -532,13 +532,13 @@ class Boss: for window in tab: self.close_window(window) - def toggle_fullscreen(self) -> None: - '@ac:win: Toggle the fullscreen status of the active OS Window' - toggle_fullscreen() + def toggle_fullscreen(self, os_window_id: int = 0) -> None: + '@ac:win: Toggle the fullscreen status of the specified or the active OS Window' + toggle_fullscreen(os_window_id) - def toggle_maximized(self) -> None: - '@ac:win: Toggle the maximized status of the active OS Window' - toggle_maximized() + def toggle_maximized(self, os_window_id: int = 0) -> None: + '@ac:win: Toggle the maximized status of the specified or the active OS Window' + toggle_maximized(os_window_id) def start(self, first_os_window_id: int) -> None: if not getattr(self, 'io_thread_started', False):