From bc0953a3ced66372e8f874f8cd37efa32bae9776 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 3 Feb 2012 17:26:59 +0000 Subject: [PATCH] Update status-bar when focusing. While focusing on a window, update the status-bar if any of the window related enabled options is set, so that its output matches reality. Easily reproducible by firing up scrotwm and opening a new window. ok marco --- scrotwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrotwm.c b/scrotwm.c index 7895187..593c775 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -2207,7 +2207,7 @@ focus_win(struct ws_win *win) PropModeReplace, (unsigned char *)&win->id,1); } - if (window_name_enabled) + if (window_name_enabled || title_class_enabled || title_name_enabled) bar_update(); }