summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/group
diff options
context:
space:
mode:
authorroico <roico@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-18 17:42:34 +0000
committerroico <roico@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-18 17:42:34 +0000
commit5ee00953e8bdff935d7627dce0ca3dce18a05b59 (patch)
treed91020efd56ea99b115458ec97bdcd4a8487b651 /beryl-plugins/src/group
parent74d122cfe238857b1890b77ff3b366509dad15d2 (diff)
downloadmarex-dev-5ee00953e8bdff935d7627dce0ca3dce18a05b59.tar.gz
marex-dev-5ee00953e8bdff935d7627dce0ca3dce18a05b59.tar.bz2
use serverX/Y to prevent window from getting onscreen when resizing... (trunk)
git-svn-id: file:///beryl/trunk@2852 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/group')
-rw-r--r--beryl-plugins/src/group/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/beryl-plugins/src/group/group.c b/beryl-plugins/src/group/group.c
index f247205..45a3f58 100644
--- a/beryl-plugins/src/group/group.c
+++ b/beryl-plugins/src/group/group.c
@@ -1041,8 +1041,8 @@ void groupWindowResizeNotify(CompWindow * w, int dx, int dy, int dwidth, int dhe
else
{
- xwc.x = WIN_X(cw);
- xwc.y = WIN_Y(cw);
+ xwc.x = cw->serverX;
+ xwc.y = xw->serverY;
}
xwc.width = nwidth;