summaryrefslogtreecommitdiff
path: root/winrules.c
diff options
context:
space:
mode:
Diffstat (limited to 'winrules.c')
-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);
}