i3
Functions | Variables
xinerama.c File Reference
#include "all.h"
#include <xcb/xinerama.h>
Include dependency graph for xinerama.c:

Go to the source code of this file.

Functions

static Outputget_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. More...
 

Variables

static int num_screens
 

Function Documentation

static Output* get_screen_at ( int  x,
int  y 
)
static

Definition at line 23 of file xinerama.c.

References outputs, xoutput::rect, TAILQ_FOREACH, Rect::x, and Rect::y.

Referenced by query_screens().

static void query_screens ( xcb_connection_t *  conn)
static
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 93 of file xinerama.c.

References conn, disable_randr(), DLOG, FREE, outputs, query_screens(), and TAILQ_FOREACH.

Referenced by main().

Here is the call graph for this function:

Variable Documentation

int num_screens
static

Definition at line 17 of file xinerama.c.

Referenced by query_screens().