mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
e89d835de6
commit
00e5472fd9
1 changed files with 0 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue