I have done further research, and I believe this patch to be correct. It makes xspice usable for me on remote hosts. --- src/spiceqxl_main_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spiceqxl_main_loop.c b/src/spiceqxl_main_loop.c index 1718861..b06d5eb 100644 --- a/src/spiceqxl_main_loop.c +++ b/src/spiceqxl_main_loop.c @@ -317,7 +317,7 @@ static void select_and_check_watches(void) static void xspice_wakeup_handler(pointer data, int nfds, pointer readmask) { - if (!nfds) { + if (!nfds && ring_is_empty(&watches)) { return; } select_and_check_watches(); -- 1.7.9.5
--- src/spiceqxl_main_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spiceqxl_main_loop.c b/src/spiceqxl_main_loop.c index 1718861..b06d5eb 100644 --- a/src/spiceqxl_main_loop.c +++ b/src/spiceqxl_main_loop.c @@ -317,7 +317,7 @@ static void select_and_check_watches(void) static void xspice_wakeup_handler(pointer data, int nfds, pointer readmask) { - if (!nfds) { + if (!nfds && ring_is_empty(&watches)) { return; } select_and_check_watches(); -- 1.7.9.5
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel