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

Arnon Gilboa agilboa at redhat.com
Thu Oct 7 05:16:14 PDT 2010


ACK

Hans de Goede wrote:
> 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;
>          }
>  
>   



More information about the Spice-devel mailing list