summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-03-17 20:14:00 +0100
committerDanny Baumann <dannybaumann@web.de>2008-03-17 20:14:00 +0100
commit9cdaf9cd9f58abf5cdd7701508bf6bdc5676af4a (patch)
tree52659897908f92704a4119664887239392160de9
parent5f65277c6b4da2be63461f2d92a64e09129805d7 (diff)
parentd519bece6f8fe04d459006299f502d442e523b12 (diff)
downloadwinrules-9cdaf9cd9f58abf5cdd7701508bf6bdc5676af4a.tar.gz
winrules-9cdaf9cd9f58abf5cdd7701508bf6bdc5676af4a.tar.bz2
Merge branch 'master' of git+ssh://maniac@git.opencompositing.org/git/fusion/plugins/winrules
-rw-r--r--winrules.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/winrules.c b/winrules.c
index abd75b6..505f270 100644
--- a/winrules.c
+++ b/winrules.c
@@ -302,11 +302,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);
}