[Spice-devel] [PATCH 2/2] fix worker->stop surface cleanup
Gerd Hoffmann
kraxel at redhat.com
Tue Apr 27 01:50:41 PDT 2010
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
server/red_worker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/red_worker.c b/server/red_worker.c
index b8afff5..118982e 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9260,7 +9260,7 @@ static void handle_dev_input(EventListener *listener, uint32_t events)
worker->running = FALSE;
red_display_clear_glz_drawables(worker->display_channel);
for (x = 0; x < NUM_SURFACES; ++x) {
- if (worker->surfaces->context.canvas) {
+ if (worker->surfaces[x].context.canvas) {
red_current_flush(worker, x);
}
}
--
1.6.6.1
More information about the Spice-devel
mailing list