summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wobbly.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-08 14:48:57 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-08 14:48:57 +0000
commit96428923f2cc22447232d2217d36dcfb19492ad4 (patch)
tree7202c6f4d7c9901a8c7296a523f7f8c0130c472e /beryl-plugins/src/wobbly.c
parent03c3d3d735f57e303f7cdeebe4ab9b94a7b30d2f (diff)
downloadmarex-dev-96428923f2cc22447232d2217d36dcfb19492ad4.tar.gz
marex-dev-96428923f2cc22447232d2217d36dcfb19492ad4.tar.bz2
beryl-core & -plugins:
- extend the window resize notify: pass the resize difference information to the wrapping function - remove seemingly senseless windowResizeNotify call in getWindowOutputExtents (why should we do a resize notify on soft decoration extents change?) git-svn-id: file:///beryl/trunk@2508 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/wobbly.c')
-rw-r--r--beryl-plugins/src/wobbly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/beryl-plugins/src/wobbly.c b/beryl-plugins/src/wobbly.c
index fdb65e6..5140f30 100644
--- a/beryl-plugins/src/wobbly.c
+++ b/beryl-plugins/src/wobbly.c
@@ -3008,7 +3008,7 @@ static Bool wobblyDamageWindowRect(CompWindow * w, Bool initial, BoxPtr rect)
return status;
}
-static void wobblyWindowResizeNotify(CompWindow * w)
+static void wobblyWindowResizeNotify(CompWindow * w, int dx, int dy, int dwidth, int dheight)
{
WOBBLY_SCREEN(w->screen);
WOBBLY_WINDOW(w);
@@ -3085,7 +3085,7 @@ static void wobblyWindowResizeNotify(CompWindow * w)
}
UNWRAP(ws, w->screen, windowResizeNotify);
- (*w->screen->windowResizeNotify) (w);
+ (*w->screen->windowResizeNotify) (w, dx, dy, dwidth, dheight);
WRAP(ws, w->screen, windowResizeNotify, wobblyWindowResizeNotify);
}