summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-26 15:11:11 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-26 15:11:11 +0000
commitb4b057c4eb6848dffccc381711903c05e35ddcd1 (patch)
tree6f62253ced10a73b139f9138f16ff24a36df2dc5
parentf7466a9ffc1a435714a050ae04ab68ba0ad41773 (diff)
downloadmarex-dev-b4b057c4eb6848dffccc381711903c05e35ddcd1.tar.gz
marex-dev-b4b057c4eb6848dffccc381711903c05e35ddcd1.tar.bz2
decoration plugin: update decoration if needed before responding to the getOutputExtentsForWindow call
git-svn-id: file:///beryl/trunk@3185 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r--beryl-plugins/src/decoration.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/beryl-plugins/src/decoration.c b/beryl-plugins/src/decoration.c
index b1f4121..4de9aa5 100644
--- a/beryl-plugins/src/decoration.c
+++ b/beryl-plugins/src/decoration.c
@@ -1347,6 +1347,9 @@ decorGetOutputExtentsForWindow(CompWindow * w, CompWindowExtents * output)
DECOR_SCREEN(w->screen);
DECOR_WINDOW(w);
+ if (dw->needsUpdate)
+ decorWindowUpdate(w, FALSE);
+
UNWRAP(ds, w->screen, getOutputExtentsForWindow);
(*w->screen->getOutputExtentsForWindow) (w, output);
WRAP(ds, w->screen, getOutputExtentsForWindow,