fix(bar): Properly flush xcb connection

Closes jaagr/lemonbuddy#114
This commit is contained in:
Michael Carlberg 2016-10-25 23:58:27 +02:00
parent 8b24847e05
commit fb7a59c6d9

View File

@ -524,6 +524,7 @@ class bar : public xpp::event::sink<evt::button_press, evt::expose, evt::propert
m_pixmap, m_window, m_gcontexts.at(gc::BL), 0, 0, 0, 0, m_bar.width, m_bar.height); m_pixmap, m_window, m_gcontexts.at(gc::BL), 0, 0, 0, 0, m_bar.width, m_bar.height);
m_connection.copy_area( m_connection.copy_area(
m_pixmap, m_window, m_gcontexts.at(gc::BR), 0, 0, 0, 0, m_bar.width, m_bar.height); m_pixmap, m_window, m_gcontexts.at(gc::BR), 0, 0, 0, 0, m_bar.width, m_bar.height);
m_connection.flush();
#if DEBUG and DRAW_CLICKABLE_AREA_HINTS #if DEBUG and DRAW_CLICKABLE_AREA_HINTS
map<alignment, int> hint_num{{ map<alignment, int> hint_num{{