diff options
Diffstat (limited to 'src/event.c')
-rw-r--r-- | src/event.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event.c b/src/event.c index b2493eaa..1f34243b 100644 --- a/src/event.c +++ b/src/event.c @@ -2038,17 +2038,17 @@ handleEvent (CompDisplay *d, (*w->screen->validateWindowResizeRequest) (w, &xwcm, &xwc, source); + if (xwcm) + configureXWindow (w, xwcm, &xwc); + if ((*w->screen->placeWindow) (w, xwc.x, xwc.y, &newX, &newY)) { xwc.x = newX; xwc.y = newY; - xwcm |= CWX | CWY; + configureXWindow (w, CWX | CWY, &xwc); } - if (xwcm) - configureXWindow (w, xwcm, &xwc); - w->placed = TRUE; } |