src/modules/xwindow.cpp
/**
   * Wrapper used to update the event mask of the
   * currently active to enable title tracking
   */
Wrapper used to update the event mask of the
currently active to enable title tracking
Wrapper used to update the event mask of the currently active to enable title tracking
active_window::active_window(xcb_connection_t* conn, xcb_window_t win) : m_connection(conn), m_window(win) {
    if (m_window != XCB_NONE) {
      const unsigned int mask{XCB_EVENT_MASK_PROPERTY_CHANGE};
      xcb_change_window_attributes(m_connection, m_window, XCB_CW_EVENT_MASK, &mask);
    }
  }
active_window :: active_window ( xcb_connection_t * conn , xcb_window_t win ) : m_connection ( conn ) , m_window ( win ) { if ( m_window != XCB_NONE ) { const unsigned int mask { XCB_EVENT_MASK_PROPERTY_CHANGE } ; xcb_change_window_attributes ( m_connection , m_window , XCB_CW_EVENT_MASK , & mask ) ; } }
Wrapper used to update the event mask of the
 currently active to enable title tracking
Wrapper used to update the event mask of the currently active to enable title tracking