From 3e3a380069eb9837a29a762033d3ce8fa9f458a9 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Sat, 25 Mar 2023 19:18:34 +0100
Subject: [PATCH] tray: Remove option TODOs
They are noted in #2689
---
src/x11/tray_manager.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/x11/tray_manager.cpp b/src/x11/tray_manager.cpp
index 666d2271..9f8d2d26 100644
--- a/src/x11/tray_manager.cpp
+++ b/src/x11/tray_manager.cpp
@@ -65,15 +65,12 @@ void manager::setup(const config& conf, const string& section_name) {
}
// Apply user-defined scaling
- // TODO maybe remove
auto scale = conf.get(section_name, "tray-scale", 1.0);
client_height *= scale;
m_opts.client_size = {client_height, client_height};
// Set user-defined foreground and background colors.
- // TODO maybe remove
- // TODO only run background manager, etc. when the background has transparency.
m_opts.background = conf.get(section_name, "tray-background", m_bar_opts.background);
m_opts.foreground = conf.get(section_name, "tray-foreground", m_bar_opts.foreground);