aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2011-07-26 08:51:24 +0000
committerokan2011-07-26 08:51:24 +0000
commit6326403c3f2dcb66746a00c6c20cd7e7ca11f8f2 (patch)
treeb1d8bb9060e7dd848758a8fbfb7c70840651adda
parent3f10d771c8ed54e10c1335fb42fa0123c5902ade (diff)
downloadcwm-6326403c3f2dcb66746a00c6c20cd7e7ca11f8f2.tar.gz
Re-draw borders after reloading, not before; from Alexander Polakov.
ok oga@
-rw-r--r--conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index 63dae30..5af2f92 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.88 2011/07/25 15:10:24 okan Exp $
+ * $OpenBSD: conf.c,v 1.89 2011/07/26 08:51:24 okan Exp $
*/
#include <sys/param.h>
@@ -94,13 +94,13 @@ conf_reload(struct conf *c)
return;
}
- TAILQ_FOREACH(cc, &Clientq, entry)
- client_draw_border(cc);
TAILQ_FOREACH(sc, &Screenq, entry) {
conf_gap(c, sc);
conf_color(c, sc);
conf_font(c, sc);
}
+ TAILQ_FOREACH(cc, &Clientq, entry)
+ client_draw_border(cc);
}
static struct {