[Xfce4-commits] r26921 - xfwm4/trunk/src

Olivier Fourdan olivier at xfce.org
Fri May 2 10:13:09 CEST 2008


Author: olivier
Date: 2008-05-02 08:13:09 +0000 (Fri, 02 May 2008)
New Revision: 26921

Modified:
   xfwm4/trunk/src/placement.c
Log:
Restore maximize on move has been broken for a while and nobody complains, too bad, it's a neat feature, let's try to get it fixed.

Modified: xfwm4/trunk/src/placement.c
===================================================================
--- xfwm4/trunk/src/placement.c	2008-05-02 08:00:36 UTC (rev 26920)
+++ xfwm4/trunk/src/placement.c	2008-05-02 08:13:09 UTC (rev 26921)
@@ -390,7 +390,7 @@
             frame_y = frameY (c);
             ret |= CLIENT_CONSTRAINED_BOTTOM;
         }
-        if ((frame_y < disp_y) && (frame_y >= disp_y - frame_top))
+        if ((frame_y <= disp_y) && (frame_y >= disp_y - frame_top))
         {
             c->y = disp_y + frame_top;
             frame_y = frameY (c);



More information about the Xfce4-commits mailing list