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:
Benno Fünfstück
2017-08-31 15:07:48 +02:00
committed by Patrick Ziegler
parent 3de914abca
commit eb742e228b
2 changed files with 15 additions and 8 deletions

View File

@ -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);