From 00e5472fd980fa9e00d05e5cdd26a3eef84dd625 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 May 2026 12:05:45 +0530 Subject: [PATCH] ... --- kitty/dnd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kitty/dnd.c b/kitty/dnd.c index 5fa726d40..2f6d49da7 100644 --- a/kitty/dnd.c +++ b/kitty/dnd.c @@ -1453,8 +1453,6 @@ drag_start(Window *w) { fg_color, bg_color, render_buf, max_width, render_height, &actual_width); if (!ok || actual_width < 1) { free(render_buf); break; } - // Shrink the buffer to the actual rendered size (data is already compact - // since draw_window_title uses actual_width as the row stride) size_t final_sz = actual_width * render_height * 4; // Un-premultiply alpha: draw_window_title output is pre-multiplied RGBA for (size_t j = 0; j < actual_width * render_height; j++) {