diff options
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r-- | src/SystemTray.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index c145351..a8c4d5d 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -279,14 +279,14 @@ unsigned int SystemTray::width() const { | |||
279 | if (orientation() == FbTk::ROT90 || orientation() == FbTk::ROT270) | 279 | if (orientation() == FbTk::ROT90 || orientation() == FbTk::ROT270) |
280 | return m_window.width(); | 280 | return m_window.width(); |
281 | 281 | ||
282 | return m_num_visible_clients * (height() - 2 * m_theme->border().width()); | 282 | return m_num_visible_clients * (height() + 2 * m_theme->border().width()); |
283 | } | 283 | } |
284 | 284 | ||
285 | unsigned int SystemTray::height() const { | 285 | unsigned int SystemTray::height() const { |
286 | if (orientation() == FbTk::ROT0 || orientation() == FbTk::ROT180) | 286 | if (orientation() == FbTk::ROT0 || orientation() == FbTk::ROT180) |
287 | return m_window.height(); | 287 | return m_window.height(); |
288 | 288 | ||
289 | return m_num_visible_clients * (width() - 2 * m_theme->border().width()); | 289 | return m_num_visible_clients * (width() + 2 * m_theme->border().width()); |
290 | } | 290 | } |
291 | 291 | ||
292 | unsigned int SystemTray::borderWidth() const { | 292 | unsigned int SystemTray::borderWidth() const { |