From 59ad37223522bb0168b10a85cc891ecb59c30f4c Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 23 Aug 2003 06:48:24 +0000 Subject: * 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 --- src/manage.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/manage.c') 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); -- cgit v1.2.3