[Spice-devel] [PATCH] server: fix red_current_flush to flush only the surface that was given as parameter

Alexander Larsson alexl at redhat.com
Mon Aug 30 07:05:22 PDT 2010


On Mon, 2010-08-30 at 14:03 +0300, Yonit Halperin wrote:
> A side effect of the previous red_current_flush, which flushed all the surfaces, and was called on a new display channel connection, was
> that red_handle_drawable_surfaces_client_synced sent the most updated surfaces images when needed. However, now, it should
> explicitly call red_current_flush.
> Moreover, since red_current_flush was called on a new display channel connection only if there was a primary surface,
> if the connection of the display channel occurred at the moment of no primary surface, red_handle_drawable_surfaces_client_synced was buggy.
> ---

Ack

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a shy vegetarian stage actor with no name. She's a radical bisexual 
Valkyrie in the wrong place at the wrong time. They fight crime! 



More information about the Spice-devel mailing list