fix(bar): Allow true transparency

Fixes jaagr/lemonbuddy#119
This commit is contained in:
Michael Carlberg 2016-10-26 02:24:10 +02:00
parent 204ab89921
commit 4167c8c11c
1 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,8 @@ class bar : public xpp::event::sink<evt::button_press, evt::expose, evt::propert
uint32_t mask = 0;
xcb_params_cw_t params;
// clang-format off
XCB_AUX_ADD_PARAM(&mask, &params, back_pixel, m_bar.background.value());
XCB_AUX_ADD_PARAM(&mask, &params, border_pixel, m_bar.background.value());
XCB_AUX_ADD_PARAM(&mask, &params, back_pixel, 0);
XCB_AUX_ADD_PARAM(&mask, &params, border_pixel, 0);
XCB_AUX_ADD_PARAM(&mask, &params, colormap, m_colormap);
XCB_AUX_ADD_PARAM(&mask, &params, override_redirect, m_bar.dock);
XCB_AUX_ADD_PARAM(&mask, &params, event_mask, XCB_EVENT_MASK_PROPERTY_CHANGE | XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS);