From 21467fcff9be86b5f7e63bb3ca66e79f8ded1d77 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 28 Mar 2026 14:26:49 +0530 Subject: [PATCH] Fix copilot code --- kitty/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index 4c822d445..a1256843b 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -1862,7 +1862,7 @@ class TabManager: # {{{ bg = color_as_int(opts.window_title_bar_active_background or opts.active_tab_background) title_pixels = draw_single_line_of_text(self.os_window_id, title, 0xff000000 | fg, 0xff000000 | bg, width) title_height = len(title_pixels) // (width * 4) - thumbnails = ((title_pixels, width, title_height), (title_pixels + pixels, width, title_height + height)) + thumbnails = ((title_pixels + pixels, width, title_height + height),) drag_data = {f'application/net.kovidgoyal.kitty-window-{os.getpid()}': str(window_id).encode()} try: start_drag_with_data(self.os_window_id, drag_data, thumbnails)