[Xfce4-commits] [xfce/xfwm4] 03/07: Redraw and resize after corner tiling

noreply at xfce.org noreply at xfce.org
Tue Jan 20 22:31:58 CET 2015


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

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 1ebb9878542f1ddfe287da30167a5065aa379aea
Author: Peter de Ridder <cavalier at the-cavalry.org>
Date:   Tue Dec 23 12:15:00 2014 +0100

    Redraw and resize after corner tiling
---
 src/moveresize.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/moveresize.c b/src/moveresize.c
index a217ab4..2093a77 100644
--- a/src/moveresize.c
+++ b/src/moveresize.c
@@ -1033,7 +1033,12 @@ clientMoveEventFilter (XEvent * xevent, gpointer data)
         c->y = passdata->oy + (xevent->xmotion.y_root - passdata->my);
 
         clientSnapPosition (c, prev_x, prev_y);
-        if (!clientMoveTile (c, (XMotionEvent *) xevent))
+        if (clientMoveTile (c, (XMotionEvent *) xevent))
+        {
+            passdata->configure_flags = CFG_FORCE_REDRAW;
+            passdata->move_resized = TRUE;
+        }
+        else
         {
             clientConstrainPos(c, FALSE);
         }

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


More information about the Xfce4-commits mailing list