diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-08-30 13:38:16 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2010-08-30 18:53:29 +0300 |
commit | fbd874a464b739933947cdb3a54ab329ecf30a6f (patch) | |
tree | c97d3cda8c180946b1839d3bdd88139195b292dd /client/cmd_line_parser.cpp | |
parent | e13be77f33609cb3fdae354ce1f2686ae865f9e0 (diff) | |
download | spice-fbd874a464b739933947cdb3a54ab329ecf30a6f.tar.gz spice-fbd874a464b739933947cdb3a54ab329ecf30a6f.tar.xz spice-fbd874a464b739933947cdb3a54ab329ecf30a6f.zip |
server: fix red_current_flush to flush only the surface that was given as parameter
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.
Diffstat (limited to 'client/cmd_line_parser.cpp')
0 files changed, 0 insertions, 0 deletions