[Xfce4-commits] [xfce/xfwm4] 09/11: netwm: Fix window type for broken clients

noreply at xfce.org noreply at xfce.org
Wed May 15 22:51:30 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 22fe30cdd99d111f043b3282a02f39df468c7ac2
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Wed May 15 22:15:14 2019 +0200

    netwm: Fix window type for broken clients
    
    Bug: 15399
    
    If a client specifies an invalid NET_WM_WINDOW_TYPE, fallback to normal
    window type.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/netwm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/netwm.c b/src/netwm.c
index 3c0121f..59567d3 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -1346,7 +1346,7 @@ clientWindowType (Client * c)
     else
     {
         TRACE ("no \"net\" atom detected");
-        c->type = UNSET;
+        c->type = WINDOW_NORMAL;
         c->initial_layer = c->win_layer;
     }
 

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


More information about the Xfce4-commits mailing list