[Spice-devel] [PATCH 10/10] worker: slowly move to display channel

Frediano Ziglio fziglio at redhat.com
Thu Nov 5 01:15:03 PST 2015


From: Marc-André Lureau <marcandre.lureau at gmail.com>

---
 server/red_worker.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index b7de808..4d31995 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -782,8 +782,8 @@ static inline void red_handle_drawable_surfaces_client_synced(
 
 static int display_is_connected(RedWorker *worker)
 {
-    return (worker->display_channel && red_channel_is_connected(
-        &worker->display_channel->common.base));
+    return worker->display_channel &&
+        red_channel_is_connected(RED_CHANNEL(worker->display_channel));
 }
 
 static int cursor_is_connected(RedWorker *worker)
-- 
2.4.3



More information about the Spice-devel mailing list