mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-02 05:45:00 +00:00
Fix copilot code
This commit is contained in:
parent
66843f8058
commit
21467fcff9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue