parent
204ab89921
commit
4167c8c11c
@ -219,8 +219,8 @@ class bar : public xpp::event::sink<evt::button_press, evt::expose, evt::propert
|
|||||||
uint32_t mask = 0;
|
uint32_t mask = 0;
|
||||||
xcb_params_cw_t params;
|
xcb_params_cw_t params;
|
||||||
// clang-format off
|
// clang-format off
|
||||||
XCB_AUX_ADD_PARAM(&mask, ¶ms, back_pixel, m_bar.background.value());
|
XCB_AUX_ADD_PARAM(&mask, ¶ms, back_pixel, 0);
|
||||||
XCB_AUX_ADD_PARAM(&mask, ¶ms, border_pixel, m_bar.background.value());
|
XCB_AUX_ADD_PARAM(&mask, ¶ms, border_pixel, 0);
|
||||||
XCB_AUX_ADD_PARAM(&mask, ¶ms, colormap, m_colormap);
|
XCB_AUX_ADD_PARAM(&mask, ¶ms, colormap, m_colormap);
|
||||||
XCB_AUX_ADD_PARAM(&mask, ¶ms, override_redirect, m_bar.dock);
|
XCB_AUX_ADD_PARAM(&mask, ¶ms, override_redirect, m_bar.dock);
|
||||||
XCB_AUX_ADD_PARAM(&mask, ¶ms, event_mask, XCB_EVENT_MASK_PROPERTY_CHANGE | XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS);
|
XCB_AUX_ADD_PARAM(&mask, ¶ms, event_mask, XCB_EVENT_MASK_PROPERTY_CHANGE | XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS);
|
||||||
|
Loading…
Reference in New Issue
Block a user