summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/group
diff options
context:
space:
mode:
authorroico <roico@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-18 17:16:23 +0000
committerroico <roico@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-18 17:16:23 +0000
commit74d122cfe238857b1890b77ff3b366509dad15d2 (patch)
treebe6fdf92b513f407e8d12f488e22b7e7691f8c36 /beryl-plugins/src/group
parent2e6d7b6b5aa46a28b2377e9aa8148fcd771f9404 (diff)
downloadmarex-dev-74d122cfe238857b1890b77ff3b366509dad15d2.tar.gz
marex-dev-74d122cfe238857b1890b77ff3b366509dad15d2.tar.bz2
resizing windows won't get them onscreen anymore... (trunk)
git-svn-id: file:///beryl/trunk@2849 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/group')
-rw-r--r--beryl-plugins/src/group/group.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/beryl-plugins/src/group/group.c b/beryl-plugins/src/group/group.c
index e5b41b9..f247205 100644
--- a/beryl-plugins/src/group/group.c
+++ b/beryl-plugins/src/group/group.c
@@ -1033,8 +1033,18 @@ void groupWindowResizeNotify(CompWindow * w, int dx, int dy, int dwidth, int dhe
XWindowChanges xwc;
- xwc.x = nx;
- xwc.y = ny;
+ if(gw->group->tabBar)
+ {
+ xwc.x = nx;
+ xwc.y = ny;
+ }
+
+ else
+ {
+ xwc.x = WIN_X(cw);
+ xwc.y = WIN_Y(cw);
+ }
+
xwc.width = nwidth;
xwc.height = nheight;