mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Graphics protocol: Fix composing onto currently displayed frame not updating the frame on the GPU. Fixes #3874
This commit is contained in:
@@ -1362,6 +1362,7 @@ handle_compose_command(GraphicsManager *self, bool *is_dirty, const GraphicsComm
|
||||
dest_frame->x = 0; dest_frame->y = 0; dest_frame->width = img->width; dest_frame->height = img->height;
|
||||
dest_frame->base_frame_id = 0; dest_frame->bgcolor = 0;
|
||||
*is_dirty = (g->other_frame_number - 1) == img->current_frame_index;
|
||||
if (*is_dirty) update_current_frame(self, img, &dest_data);
|
||||
}
|
||||
// }}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user