mirror of
https://github.com/polybar/polybar.git
synced 2026-03-04 23:39:07 +00:00
fix(render): correctly handle semi-transparency for borders
We need to fetch the outer area from the root window, not just the inner area because we paint the background below the borders as well. This has the nice effect of supporting semi-transparency for borders as well.
This commit is contained in:
committed by
Patrick Ziegler
parent
3de914abca
commit
eb742e228b
@ -166,7 +166,7 @@ renderer::renderer(
|
||||
}
|
||||
|
||||
m_log.trace("Activate root background manager");
|
||||
m_background.activate(m_window, m_bar.inner_area(true));
|
||||
m_background.activate(m_window, m_bar.outer_area(true));
|
||||
}
|
||||
|
||||
m_comp_bg = m_conf.get<cairo_operator_t>("settings", "compositing-background", m_comp_bg);
|
||||
|
||||
Reference in New Issue
Block a user