all repos — fluxbox @ 35753c7c3f7ad8fb10bd0853359f770c822bf1f1

custom fork of the fluxbox windowmanager

fix calculating the width / height of SystemTray (closes #3150939)
Mathias Gumz akira at fluxbox dot org
commit

35753c7c3f7ad8fb10bd0853359f770c822bf1f1

parent

39871695cf9a31340dc6047d09558607cd040aa5

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/SystemTray.ccsrc/SystemTray.cc

@@ -279,14 +279,14 @@ unsigned int SystemTray::width() const {

if (orientation() == FbTk::ROT90 || orientation() == FbTk::ROT270) return m_window.width(); - return m_num_visible_clients * (height() - 2 * m_theme->border().width()); + return m_num_visible_clients * (height() + 2 * m_theme->border().width()); } unsigned int SystemTray::height() const { if (orientation() == FbTk::ROT0 || orientation() == FbTk::ROT180) return m_window.height(); - return m_num_visible_clients * (width() - 2 * m_theme->border().width()); + return m_num_visible_clients * (width() + 2 * m_theme->border().width()); } unsigned int SystemTray::borderWidth() const {