[Xfce4-commits] <xfwm4:master> Fix logic in previous commit
Olivier Fourdan
noreply at xfce.org
Mon May 2 12:08:01 CEST 2011
Updating branch refs/heads/master
to 3fdb3ef440ae74957c870d7a64edf5a273fdddf7 (commit)
from a517c44802e790408f2cca4d5865ab7f4ebfca0a (commit)
commit 3fdb3ef440ae74957c870d7a64edf5a273fdddf7
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Mon May 2 11:09:44 2011 +0200
Fix logic in previous commit
src/client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/client.c b/src/client.c
index 98f803d..6fe0715 100644
--- a/src/client.c
+++ b/src/client.c
@@ -853,7 +853,7 @@ clientMoveResizeWindow (Client * c, XWindowChanges * wc, unsigned long mask)
}
flags |= CFG_REQUEST;
}
- if (mask & (CWX | CWY | CWWidth | CWHeight) == (CWWidth | CWHeight))
+ if ((mask & (CWWidth | CWHeight)) && !(mask & (CWX | CWY)))
{
/*
* The client is resizing its window, but did not specify a
More information about the Xfce4-commits
mailing list