style(background_manager): use brace initialization

This commit is contained in:
Benno Fünfstück 2017-12-21 22:48:02 +01:00 committed by Patrick Ziegler
parent 51d58e7518
commit e4b0a5445f

View File

@ -41,12 +41,12 @@ class background_manager : public signal_receiver<SIGN_PRIORITY_SCREEN, signals:
xcb_rectangle_t m_rect{0, 0, 0U, 0U}; xcb_rectangle_t m_rect{0, 0, 0U, 0U};
xcb_visualtype_t* m_visual = nullptr; xcb_visualtype_t* m_visual{nullptr};
xcb_gcontext_t m_gcontext = XCB_NONE; xcb_gcontext_t m_gcontext{XCB_NONE};
xcb_pixmap_t m_pixmap = XCB_NONE; xcb_pixmap_t m_pixmap{XCB_NONE};
unique_ptr<cairo::xcb_surface> m_surface; unique_ptr<cairo::xcb_surface> m_surface;
bool m_attached = false; bool m_attached{false};
void allocate_resources(); void allocate_resources();
void free_resources(); void free_resources();