From 2f671ecd12558466c3b0f38604dedf5f2fab2e59 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 8 Sep 2011 12:00:49 +0000 Subject: reinit menu on reload; from Alexander Polakov. needed for catching upcoming menu config changes. ok oga@ --- conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 2cc7251..85e5f0f 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.94 2011/09/03 09:25:39 okan Exp $ + * $OpenBSD: conf.c,v 1.95 2011/09/08 12:00:49 okan Exp $ */ #include @@ -100,6 +100,7 @@ conf_reload(struct conf *c) conf_gap(c, sc); conf_color(c, sc); conf_font(c, sc); + menu_init(sc); } TAILQ_FOREACH(cc, &Clientq, entry) client_draw_border(cc); -- cgit v1.2.3-2-gb3c3