i3
|
Go to the source code of this file.
Functions | |
static Output * | get_screen_at (unsigned int x, unsigned int y) |
static void | query_screens (xcb_connection_t *conn) |
static void | use_root_output (xcb_connection_t *conn) |
void | xinerama_init (void) |
We have just established a connection to the X server and need the initial Xinerama information to setup workspaces for each screen. | |
Variables | |
static int | num_screens |
|
static |
Definition at line 22 of file xinerama.c.
References outputs, xoutput::rect, TAILQ_FOREACH, Rect::x, Rect::y, and y.
Referenced by query_screens().
|
static |
Definition at line 38 of file xinerama.c.
References xoutput::active, conn, DLOG, ELOG, get_screen_at(), Rect::height, init_ws_for_output(), min(), output_name::name, num_screens, output_init_con(), output_primary_name(), outputs, xoutput::rect, sasprintf(), scalloc(), SLIST_INIT, SLIST_INSERT_HEAD, TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, Rect::width, Rect::x, and Rect::y.
Referenced by xinerama_init().
|
static |
Definition at line 99 of file xinerama.c.
References xoutput::active, conn, create_root_output(), init_ws_for_output(), output_init_con(), outputs, and TAILQ_INSERT_TAIL.
Referenced by xinerama_init().
void xinerama_init | ( | void | ) |
We have just established a connection to the X server and need the initial Xinerama information to setup workspaces for each screen.
Definition at line 112 of file xinerama.c.
References conn, DLOG, FREE, query_screens(), and use_root_output().
Referenced by main().
|
static |
Definition at line 16 of file xinerama.c.
Referenced by query_screens().