From 54af1b2cbe1a740d628d74168047306934126c8b Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sun, 18 Oct 2009 15:06:15 +0000 Subject: [PATCH] update bar when cycling layout --- scrotwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrotwm.c b/scrotwm.c index a75a942..c0f4264 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -1736,6 +1736,7 @@ cycle_layout(struct swm_region *r, union arg *args) stack(); a.id = SWM_ARG_ID_FOCUSCUR; focus(r, &a); + bar_update(); } void @@ -3881,8 +3882,8 @@ destroynotify(XEvent *e) a.id = SWM_ARG_ID_FOCUSPREV; focus(win->ws->r, &a); unmanage_window(win); - free_window(win); stack(); + free_window(win); } void -- 1.7.10.4