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

noreply at xfce.org noreply at xfce.org
Fri Jul 27 22:35:08 CEST 2018

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       x   f   c   e   -   4   .   1   2   
   in repository xfce/xfwm4.

commit 11421dc28cf3a4ea6598eb32f48dc39da2c078db
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>
    (cherry picked from commit 87cbe0e3d01d467c14aa2bb4d3656bf6b39a4247)
 src/client.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/client.c b/src/client.c
index 3496d9e..3a5531d 100644
--- a/src/client.c
+++ b/src/client.c
@@ -908,6 +908,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