[Xfce4-commits] [xfce/xfwm4] 01/07: client: Do not warn on usual errors

noreply at xfce.org noreply at xfce.org
Wed May 8 09:31:20 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   l   i   v   i   e   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit 828b9eaaf35959ebf2cc72660a87730913a0bcea
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Tue May 7 20:12:41 2019 +0200

    client: Do not warn on usual errors
    
    Those are fairly common errors, no need to actually send warnings.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/client.c b/src/client.c
index a1254b8..d429de0 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1588,7 +1588,7 @@ clientFrame (DisplayInfo *display_info, Window w, gboolean recapture)
 
     if (!XGetWindowAttributes (display_info->dpy, w, &attr))
     {
-        g_warning ("Cannot get window attributes for window (0x%lx)", w);
+        DBG ("Cannot get window attributes for window (0x%lx)", w);
         myDisplayUngrabServer (display_info);
         return NULL;
     }
@@ -1596,7 +1596,7 @@ clientFrame (DisplayInfo *display_info, Window w, gboolean recapture)
     screen_info = myDisplayGetScreenFromRoot (display_info, attr.root);
     if (!screen_info)
     {
-        g_warning ("Cannot determine screen info from window (0x%lx)", w);
+        DBG ("Cannot determine screen info from window (0x%lx)", w);
         myDisplayUngrabServer (display_info);
         return NULL;
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list