Exemplo n.º 1
0
void init_screen(const struct option* options)
{
  branch_pred_screen();
  default_screen(options);

  screens_hook();  /* target dependent screens, if any */
}
Exemplo n.º 2
0
void init_screen()
{
  branch_pred_screen();
  default_screen();

  screens_hook();  /* target dependent screens, if any */
}
Exemplo n.º 3
0
 /***************************************************************************
  * Method: root_window
  *
  * Description:
  * Return the root window for the default screen of this display.
  */
 int root_window() {return RootWindow(_display, default_screen());}
Exemplo n.º 4
0
/**
 * 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;
}
Exemplo n.º 5
0
 /***************************************************************************
  * Method: default_depth
  *
  * Description:
  * Return the default depth of a the default screen of this display.
  */
 int default_depth() {return DefaultDepth(_display, default_screen());}