void init_screen(const struct option* options) { branch_pred_screen(); default_screen(options); screens_hook(); /* target dependent screens, if any */ }
void init_screen() { branch_pred_screen(); default_screen(); screens_hook(); /* target dependent screens, if any */ }
/*************************************************************************** * Method: root_window * * Description: * Return the root window for the default screen of this display. */ int root_window() {return RootWindow(_display, default_screen());}
/** * Get pointer to the default xcb screen */ xcb_screen_t* connection::screen() { if (m_screen == nullptr) m_screen = screen_of_display(default_screen()); return m_screen; }
/*************************************************************************** * Method: default_depth * * Description: * Return the default depth of a the default screen of this display. */ int default_depth() {return DefaultDepth(_display, default_screen());}