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

Alon Levy alevy at redhat.com
Wed Oct 6 15:22:43 PDT 2010


ACK.

----- "Hans de Goede" <hdegoede at redhat.com> 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;
>          }
>  
> -- 
> 1.7.2.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list