[Xfce4-commits] [xfce/xfwm4] 01/01: client: Make sure to redraw when removing maximized

noreply at xfce.org noreply at xfce.org
Fri Dec 8 20:19:55 CET 2017


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 87cbe0e3d01d467c14aa2bb4d3656bf6b39a4247
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Dec 8 20:17:25 2017 +0100

    client: Make sure to redraw when removing maximized
    
    Bug: 13954
    
    When a client issues a ConfigureRequest() on a toplevel window, that
    window may transition from maximized to un-maximized state.
    
    Make sure we repaint and relocate the client window within the frame.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/client.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/client.c b/src/client.c
index 9aa57f7..5282f26 100644
--- a/src/client.c
+++ b/src/client.c
@@ -909,6 +909,7 @@ clientMoveResizeWindow (Client *c, XWindowChanges * wc, unsigned long mask)
         if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
         {
             clientRemoveMaximizeFlag (c);
+            flags |= CFG_FORCE_REDRAW;
         }
 
         flags |= CFG_REQUEST | CFG_CONSTRAINED;

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


More information about the Xfce4-commits mailing list