support null title in .xoatrc

This commit is contained in:
Sean Pringle
2014-12-31 14:52:43 +10:00
parent 4241d195d6
commit 761ea77675
2 changed files with 8 additions and 1 deletions

View File

@@ -432,5 +432,11 @@ configure()
fclose(file);
regex_cache_empty();
if (settings.title && strcmp(settings.title, "null") == 0)
{
free(settings.title);
settings.title = NULL;
}
}
}

3
xoatrc
View File

@@ -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