summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-08-23 06:48:24 +0000
committersabetts <sabetts>2003-08-23 06:48:24 +0000
commit59ad37223522bb0168b10a85cc891ecb59c30f4c (patch)
treec6d20345d4bd21337a595442590ac450201338ec /src/manage.c
parente8d4782f9666d4355718b2c00ef53c464f676da3 (diff)
downloadratpoison-59ad37223522bb0168b10a85cc891ecb59c30f4c.zip
* src/split.c (remove_all_splits): only hide the windows in the
current screen. * src/group.h (group_delete_group): new prototype * src/group.c (group_last_window): find the last window in the current screen. (group_next_window): find next window in current screen. (group_prev_window): find previous window in current screen. * src/manage.c (force_maximize): call XSync() after first resize. * src/globals.h (GROUP_DELETE_GROUP_OK): new define (GROUP_DELETE_GROUP_NONEMPTY): likewise * src/actions.h (cmd_gdelete): new prototype * src/actions.c (user_commands): new command gdelete (cmd_gdelete): new command
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);