[Spice-devel] [PATCH spice 4/5] spicec-x11: Drop annoying useless warning

Hans de Goede hdegoede at redhat.com
Wed Oct 6 11:14:24 PDT 2010


Every time an events comes past where the Window is None (which happens
about once every 5 minutes or so), this annoying "invalid window" message
gets printed. Remove it!
---
 client/x11/platform.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index cb2431f..ccae877 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -271,7 +271,6 @@ void XEventHandler::on_event()
 
         XNextEvent(&_x_display, &event);
         if (event.xany.window == None) {
-            LOG_WARN("invalid window");
             continue;
         }
 
-- 
1.7.2.2



More information about the Spice-devel mailing list