mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
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:
parent
46976d10ff
commit
fcd30c5320
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
m_bar.height = m_bar.monitor->h * (m_bar.height / 100.0) + 0.5f;
|
||||||
|
|
||||||
// apply offsets
|
// apply offsets
|
||||||
m_bar.width -= m_bar.offset_x * 2;
|
|
||||||
m_bar.x = m_bar.offset_x + m_bar.monitor->x;
|
m_bar.x = m_bar.offset_x + m_bar.monitor->x;
|
||||||
m_bar.y = m_bar.offset_y + m_bar.monitor->y;
|
m_bar.y = m_bar.offset_y + m_bar.monitor->y;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue