From: Tiago Cunha Date: Fri, 3 Feb 2012 17:26:59 +0000 (+0000) Subject: Update status-bar when focusing. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=bc0953a3ced66372e8f874f8cd37efa32bae9776;p=spectrwm.git 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 --- 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(); }