i3
|
Go to the source code of this file.
Macros | |
#define | I3__FILE__ "xinerama.c" |
Functions | |
static Output * | get_screen_at (unsigned int x, unsigned 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. More... | |
Variables | |
static int | num_screens |
#define I3__FILE__ "xinerama.c" |
Definition at line 2 of file xinerama.c.
|
static |
Definition at line 24 of file xinerama.c.
References outputs, xoutput::rect, TAILQ_FOREACH, Rect::x, and Rect::y.
Referenced by query_screens().
|
static |
Definition at line 38 of file xinerama.c.
References xoutput::active, xoutput::con, DLOG, ELOG, get_screen_at(), height, Rect::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, width, Rect::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 18 of file xinerama.c.
Referenced by query_screens().