[Xfce4-commits] [xfce/xfwm4] 01/01: Fix a mishmash between width and height

noreply at xfce.org noreply at xfce.org
Sun Mar 15 11:26:25 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 adcf17fe8a136c89196f952185056c12c3829a01
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Sun Mar 15 11:24:15 2015 +0100

    Fix a mishmash between width and height
    
    Bug: 11700
    
    Duh...
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/client.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/client.c b/src/client.c
index 7fa9e36..38ecc6f 100644
--- a/src/client.c
+++ b/src/client.c
@@ -543,12 +543,12 @@ clientAdjustCoordGravity (Client *c, int gravity, XWindowChanges *wc, unsigned l
 
     if (*mask & CWWidth)
     {
-        wc->width = clientCheckHeight (c, wc->width, TRUE);
+        wc->width = clientCheckWidth (c, wc->width, TRUE);
     }
 
-    if (*mask & CWWidth)
+    if (*mask & CWHeight)
     {
-        wc->height = clientCheckWidth (c, wc->height, TRUE);
+        wc->height = clientCheckHeight (c, wc->height, TRUE);
     }
 
     switch (gravity)

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


More information about the Xfce4-commits mailing list