tray: Properly deprecate tray-transparent

This commit is contained in:
patrick96 2018-10-04 15:36:55 +02:00 committed by Patrick Ziegler
parent 70807a5a9f
commit 13b0ee7454
1 changed files with 4 additions and 0 deletions

View File

@ -120,6 +120,10 @@ void tray_manager::setup(const bar_settings& bar_opts) {
break;
}
if (conf.has(bs, "tray-transparent")) {
m_log.warn("tray-transparent is deprecated, the tray always uses pseudo-transparency. Please remove it.");
}
// Set user-defined background color
auto bg = conf.get(bs, "tray-background", ""s);