[Xfce4-commits] <xfwm4:xfce-4.8> Fix logic in previous commit
Olivier Fourdan
noreply at xfce.org
Fri Sep 9 09:22:02 CEST 2011
Updating branch refs/heads/xfce-4.8
to 798d9cd40ea734793ced25980cdd817aee1a320a (commit)
from cee208fd0011cf58442856fba4c0c9e0adff9bba (commit)
commit 798d9cd40ea734793ced25980cdd817aee1a320a
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 9290b79..a7cd5f7 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