[Spice-devel] [PATCH 05/10] server/tests/test_display_no_ssl: restart notify timer

Alon Levy alevy at redhat.com
Sat Jan 8 06:23:23 PST 2011


---
 server/tests/test_display_no_ssl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/tests/test_display_no_ssl.c b/server/tests/test_display_no_ssl.c
index be1c000..8d72dfd 100644
--- a/server/tests/test_display_no_ssl.c
+++ b/server/tests/test_display_no_ssl.c
@@ -183,7 +183,6 @@ int get_command(QXLInstance *qin, struct QXLCommandExt *ext)
     notify--;
     update = test_spice_create_update();
     *ext = update->ext;
-    notify = FALSE;
     return TRUE;
 }
 
@@ -201,6 +200,7 @@ void do_wakeup()
 {
     notify = NOTIFY_DISPLAY_BATCH;
     cursor_notify = NOTIFY_CURSOR_BATCH;
+    core->timer_start(wakeup_timer, wakeup_ms);
     qxl_worker->wakeup(qxl_worker);
 }
 
-- 
1.7.3.4



More information about the Spice-devel mailing list