fix(tray): Avoid tray redraw on bar update

This commit is contained in:
Michael Carlberg 2016-11-15 00:55:40 +01:00
parent 7551a7d126
commit ffe76b0556
5 changed files with 5 additions and 18 deletions
src/components

View file

@ -399,10 +399,6 @@ void bar::flush() {
m_connection.copy_area(m_pixmap, m_window, m_gcontexts.at(gc::FG), 0, 0, 0, 0, m_opts.width, m_opts.height);
m_connection.flush();
if (g_signals::bar::redraw) {
g_signals::bar::redraw();
}
#if DEBUG and DRAW_CLICKABLE_AREA_HINTS
map<alignment, int> hint_num{{
{alignment::LEFT, 0}, {alignment::CENTER, 0}, {alignment::RIGHT, 0},