--- 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