i3
|
Go to the source code of this file.
Macros | |
#define | I3__FILE__ "xinerama.c" |
Functions | |
static Output * | get_screen_at (int x, int y) |
static void | query_screens (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 |
#define I3__FILE__ "xinerama.c" |
Definition at line 2 of file xinerama.c.
|
static |
Definition at line 25 of file xinerama.c.
References outputs, xoutput::rect, TAILQ_FOREACH, Rect::x, and Rect::y.
Referenced by query_screens().
|
static |
Definition at line 39 of file xinerama.c.
References xoutput::active, xoutput::con, DLOG, ELOG, get_screen_at(), Rect::height, height, init_ws_for_output(), min(), xoutput::name, num_screens, output_get_content(), output_init_con(), outputs, xoutput::rect, sasprintf(), scalloc(), TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, Rect::width, width, Rect::x, and Rect::y.
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 95 of file xinerama.c.
References conn, disable_randr(), DLOG, FREE, outputs, query_screens(), and TAILQ_FOREACH.
Referenced by main().
|
static |
Definition at line 19 of file xinerama.c.
Referenced by query_screens().