From: Marco Peereboom Date: Sun, 18 Oct 2009 15:06:15 +0000 (+0000) Subject: update bar when cycling layout X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=54af1b2cbe1a740d628d74168047306934126c8b;p=spectrwm.git update bar when cycling layout --- 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