summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-03-17 10:02:37 +0100
committerDanny Baumann <dannybaumann@web.de>2008-03-17 10:02:37 +0100
commitd519bece6f8fe04d459006299f502d442e523b12 (patch)
tree2f79b96c8394573385fae4c43c6e18988a8cd04f
parentcf0716fef5b3f57232426ec292f9a7fd1a23022f (diff)
downloadwinrules-d519bece6f8fe04d459006299f502d442e523b12.tar.gz
winrules-d519bece6f8fe04d459006299f502d442e523b12.tar.bz2
Send out sync request when changing window size.
-rw-r--r--winrules.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/winrules.c b/winrules.c
index d6e7ae2..e40673e 100644
--- a/winrules.c
+++ b/winrules.c
@@ -305,11 +305,12 @@ winrulesUpdateWindowSize (CompWindow *w,
if (height != w->serverHeight)
xwcm |= CWHeight;
- xwc.x = w->serverX;
- xwc.y = w->serverY;
xwc.width = width;
xwc.height = height;
+ if (w->mapNum && xwcm)
+ sendSyncRequest (w);
+
configureXWindow (w, xwcm, &xwc);
}