summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c
index 414b74a..2330721 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -705,6 +705,8 @@ force_maximize (rp_window *win)
XResizeWindow (dpy, win->w, win->width + 1, win->height + 1);
}
+ XSync (dpy, False);
+
/* Resize the window to its proper maximum size. */
XMoveResizeWindow (dpy, win->w, win->x, win->y, win->width, win->height);
XSetWindowBorderWidth (dpy, win->w, win->border);