summaryrefslogtreecommitdiff
path: root/src/netwm.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan@xfce.org>2015-03-10 21:54:02 +0100
committerOlivier Fourdan <fourdan@xfce.org>2015-03-10 22:24:34 +0100
commit80647b97e23782c925cb1c2c99ff38e9bae50722 (patch)
tree77f618f57802f3948e28f34289cdc1df3d1edc21 /src/netwm.c
parentbd9af102c1d4017c97d2e47548751e01ceeefbf5 (diff)
downloadxfwm4-80647b97e23782c925cb1c2c99ff38e9bae50722.tar.gz
Fix window positioning and gravity
Bug: 11670 Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'src/netwm.c')
-rw-r--r--src/netwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netwm.c b/src/netwm.c
index 81e830a84..335920131 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -753,7 +753,7 @@ clientNetMoveResizeWindow (Client * c, XClientMessageEvent * ev)
wc.height = ev->data.l[4];
mask = (ev->data.l[0] & 0xf00) >> 8;
- clientAdjustCoordGravity (c, gravity, &mask, &wc);
+ clientAdjustCoordGravity (c, gravity, &wc, &mask);
clientMoveResizeWindow (c, &wc, mask);
}