summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wobbly.c
diff options
context:
space:
mode:
authorprofox <profox@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-31 00:09:44 +0000
committerprofox <profox@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-31 00:09:44 +0000
commit1e6ad819122bb4274758184e5fc186b36043ef37 (patch)
tree8d3055b3ce47c6bae9406c305e87f0a789c994c2 /beryl-plugins/src/wobbly.c
parent94ecc2d489b45178967de93fa52bcea38e685178 (diff)
downloadmarex-dev-1e6ad819122bb4274758184e5fc186b36043ef37.tar.gz
marex-dev-1e6ad819122bb4274758184e5fc186b36043ef37.tar.bz2
another resize related cleanup by maniac103 - closes #520
git-svn-id: file:///beryl/trunk@909 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/wobbly.c')
-rw-r--r--beryl-plugins/src/wobbly.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/beryl-plugins/src/wobbly.c b/beryl-plugins/src/wobbly.c
index 321539d..1b3274a 100644
--- a/beryl-plugins/src/wobbly.c
+++ b/beryl-plugins/src/wobbly.c
@@ -2317,8 +2317,13 @@ wobblyPreparePaintScreen (CompScreen * s, int msSinceLastPaint)
moveWindow (w,
model->topLeft.x + w->output.left - w->attrib.x,
model->topLeft.y + w->output.top - w->attrib.y, TRUE, TRUE);
- } else IPCS_SetBoolN(IPCS_OBJECT(w), "WOBBLY_WAS_RESIZED", FALSE);
-
+ } else {
+ IPCS_SetBoolN(IPCS_OBJECT(w), "WOBBLY_WAS_RESIZED", FALSE);
+ //update the model coordinates to the current ones
+ model->topLeft.x = w->attrib.x;
+ model->topLeft.y = w->attrib.y;
+ }
+
ww->model = model;
syncWindowPosition (w);