update bar when cycling layout

This commit is contained in:
Marco Peereboom 2009-10-18 15:06:15 +00:00
parent d1363f0075
commit 54af1b2cbe

View file

@ -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