Ensure placement is transmitted after data

This commit is contained in:
Kovid Goyal 2025-10-09 15:35:57 +05:30
parent 167b254d97
commit ed33e64101
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -192,6 +192,7 @@ func (self *GraphicsHandler) transmit(lp *loop.Loop, img *images.ImageData, m *i
m = &s
}
self.image_transmitted = self.image_id_counter
self.last_transmitted_placement.gc = nil
self.last_rendered_image.image_width = m.Width
self.last_rendered_image.image_height = m.Height
is_animated := len(m.Frames) > 0