From 761ea77675cfad9769a0fc5bb1b8f1116f1ec3c7 Mon Sep 17 00:00:00 2001 From: Sean Pringle Date: Wed, 31 Dec 2014 14:52:43 +1000 Subject: [PATCH] support null title in .xoatrc --- config.c | 6 ++++++ xoatrc | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.c b/config.c index 0e6275c..2c1fe1e 100644 --- a/config.c +++ b/config.c @@ -432,5 +432,11 @@ configure() fclose(file); regex_cache_empty(); + + if (settings.title && strcmp(settings.title, "null") == 0) + { + free(settings.title); + settings.title = NULL; + } } } diff --git a/xoatrc b/xoatrc index 8764ce8..4429670 100644 --- a/xoatrc +++ b/xoatrc @@ -11,7 +11,8 @@ border_focus Royal Blue border_blur Dark Gray border_urgent Red -# Title bar xft font. +# Title bar xft font. "null" means disable. +# title null title sans:size=8 title_blur Black title_focus White