src/xinerama.c File Reference

#include <xcb/xinerama.h>
#include "all.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 ()
 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

Function Documentation

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

Definition at line 26 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 (  ) 

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 96 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 20 of file xinerama.c.

Referenced by query_screens().


Generated on 7 Feb 2013 for i3 by  doxygen 1.6.1