From fcd30c5320271fb3bd120cb02c77e720affacce7 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Fri, 14 Oct 2016 10:38:06 +0200 Subject: [PATCH] fix: Revert to old offset behaviour The offset-x should not affect the width of the bar window Closes jaagr/lemonbuddy#79 --- include/components/bar.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/components/bar.hpp b/include/components/bar.hpp index a4cd82f5..51aaaf57 100644 --- a/include/components/bar.hpp +++ b/include/components/bar.hpp @@ -171,7 +171,6 @@ class bar : public xpp::event::sink { m_bar.height = m_bar.monitor->h * (m_bar.height / 100.0) + 0.5f; // apply offsets - m_bar.width -= m_bar.offset_x * 2; m_bar.x = m_bar.offset_x + m_bar.monitor->x; m_bar.y = m_bar.offset_y + m_bar.monitor->y;