fix: Revert to old offset behaviour

The offset-x should not affect the width
of the bar window

Closes jaagr/lemonbuddy#79
This commit is contained in:
Michael Carlberg 2016-10-14 10:38:06 +02:00
parent 46976d10ff
commit fcd30c5320
1 changed files with 0 additions and 1 deletions

View File

@ -171,7 +171,6 @@ class bar : public xpp::event::sink<evt::button_press, evt::expose> {
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;