summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-12-19 21:56:05 +0000
committersabetts <sabetts>2006-12-19 21:56:05 +0000
commit261253d0859c3d30b970a7ef8db953c302d83099 (patch)
treeb64736e22888b500d091667ede176542e8c685af
parent1ca0ac6946589f8450cd166ae5bff31689abe1b8 (diff)
downloadratpoison-261253d0859c3d30b970a7ef8db953c302d83099.zip
(force_maximize): remove call to usleep
-rw-r--r--src/manage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/manage.c b/src/manage.c
index c1cf8a1..50743b4 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -798,11 +798,10 @@ force_maximize (rp_window *win)
}
else
{
- XResizeWindow (dpy, win->w, win->width + 10, win->height + 10);
+ XResizeWindow (dpy, win->w, win->width + 1, win->height + 1);
}
XSync (dpy, False);
- usleep (100);
/* Resize the window to its proper maximum size. */
XMoveResizeWindow (dpy, win->w, win->scr->left + win->x, win->scr->top + win->y, win->width, win->height);