From 13b0ee74544bd52fd2b1c7fd9361964005e5b7eb Mon Sep 17 00:00:00 2001
From: patrick96
Date: Thu, 4 Oct 2018 15:36:55 +0200
Subject: [PATCH] tray: Properly deprecate tray-transparent
---
src/x11/tray_manager.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/x11/tray_manager.cpp b/src/x11/tray_manager.cpp
index 6c1b66f2..7a4cae08 100644
--- a/src/x11/tray_manager.cpp
+++ b/src/x11/tray_manager.cpp
@@ -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);