aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2016-01-09 17:30:22 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-01-09 17:30:22 (GMT)
commit3c06e9e93fd2057e26bb9df081d8b732916c49d5 (patch)
tree3135a24477376d77108c7840b1c9af9ce45fb932 /src/SystemTray.hh
parent6346368b58e054174075f615a836ff3bd9c9f823 (diff)
downloadfluxbox-3c06e9e93fd2057e26bb9df081d8b732916c49d5.zip
fluxbox-3c06e9e93fd2057e26bb9df081d8b732916c49d5.tar.bz2
minor code cosmetics
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r--src/SystemTray.hh11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh
index d92e437..61cd1bb 100644
--- a/src/SystemTray.hh
+++ b/src/SystemTray.hh
@@ -35,7 +35,6 @@
35 35
36class BScreen; 36class BScreen;
37class ButtonTheme; 37class ButtonTheme;
38class TrayWindow;
39class AtomHandler; 38class AtomHandler;
40 39
41namespace FbTk { 40namespace FbTk {
@@ -73,12 +72,13 @@ public:
73 int numClients() const { return m_clients.size(); } 72 int numClients() const { return m_clients.size(); }
74 const FbTk::FbWindow &window() const { return m_window; } 73 const FbTk::FbWindow &window() const { return m_window; }
75 74
76 void renderTheme(int alpha) { 75 void renderTheme(int alpha) {
77 m_window.setBorderWidth(m_theme->border().width()); 76 m_window.setBorderWidth(m_theme->border().width());
78 m_window.setBorderColor(m_theme->border().color()); 77 m_window.setBorderColor(m_theme->border().color());
79 m_window.setAlpha(alpha); 78 m_window.setAlpha(alpha);
80 update(); 79 update();
81 } 80 }
81
82 void updateSizing() { m_window.setBorderWidth(m_theme->border().width()); } 82 void updateSizing() { m_window.setBorderWidth(m_theme->border().width()); }
83 83
84 void parentMoved() { m_window.parentMoved(); } 84 void parentMoved() { m_window.parentMoved(); }
@@ -90,7 +90,8 @@ public:
90private: 90private:
91 void update(); 91 void update();
92 92
93 typedef std::list<TrayWindow *> ClientList; 93 class TrayWindow;
94 typedef std::list<TrayWindow*> ClientList;
94 ClientList::iterator findClient(Window win); 95 ClientList::iterator findClient(Window win);
95 96
96 void rearrangeClients(); 97 void rearrangeClients();