i3
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables
include/data.h File Reference
#include <libsn/sn-launcher.h>
#include <xcb/randr.h>
#include <xcb/xcb_atom.h>
#include <stdbool.h>
#include <pcre.h>
#include <sys/time.h>
#include "queue.h"
Include dependency graph for data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Rect
 Stores a rectangle, for example the size of a window, the child window etc. More...
struct  reservedpx
 Stores the reserved pixels on each screen edge read from a _NET_WM_STRUT_PARTIAL. More...
struct  width_height
 Stores a width/height pair, used as part of deco_render_params to check whether the rects width/height have changed. More...
struct  deco_render_params
 Stores the parameters for rendering a window decoration. More...
struct  Workspace_Assignment
 Stores which workspace (by name) goes to which output. More...
struct  Ignore_Event
struct  Startup_Sequence
 Stores internal information about a startup sequence, like the workspace it was initiated on. More...
struct  regex
 Regular expression wrapper. More...
struct  Binding
 Holds a keybinding, consisting of a keycode combined with modifiers and the command which is executed as soon as the key is pressed (see src/cfgparse.y) More...
struct  Autostart
 Holds a command specified by either an: More...
struct  xoutput
 An Output is a physical output on your graphics driver. More...
struct  Window
 A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_WM_NAME for that window). More...
struct  Match
 A "match" is a data structure which acts like a mask or expression to match certain windows or not. More...
struct  Assignment
 An Assignment makes specific windows go to a specific workspace/output or run a command for that window. More...
struct  Con
 A 'Con' represents everything from the X11 root window down to a single X11 window. More...

Defines

#define SN_API_NOT_YET_FROZEN   1

Typedefs

typedef struct Binding Binding
typedef struct Rect Rect
typedef struct xoutput Output
typedef struct Con Con
typedef struct Match Match
typedef struct Assignment Assignment
typedef struct Window i3Window

Enumerations

enum  direction_t { D_LEFT, D_RIGHT, D_UP, D_DOWN }
enum  orientation_t { NO_ORIENTATION = 0, HORIZ, VERT }
enum  border_style_t { BS_NORMAL = 0, BS_NONE = 1, BS_1PIXEL = 2 }
enum  kill_window_t { DONT_KILL_WINDOW = 0, KILL_WINDOW = 1, KILL_CLIENT = 2 }
 parameter to specify whether tree_close() and x_window_kill() should kill only this specific window or the whole X11 client More...
enum  {
  BIND_NONE = 0, BIND_SHIFT = XCB_MOD_MASK_SHIFT, BIND_CONTROL = XCB_MOD_MASK_CONTROL, BIND_MOD1 = XCB_MOD_MASK_1,
  BIND_MOD2 = XCB_MOD_MASK_2, BIND_MOD3 = XCB_MOD_MASK_3, BIND_MOD4 = XCB_MOD_MASK_4, BIND_MOD5 = XCB_MOD_MASK_5,
  BIND_MODE_SWITCH = (1 << 8)
}

Functions

struct Rect __attribute__ ((packed))

Variables

uint32_t x
uint32_t y
uint32_t width
uint32_t height
struct reservedpx __attribute__

Define Documentation

#define SN_API_NOT_YET_FROZEN   1

Definition at line 13 of file data.h.


Typedef Documentation

typedef struct Assignment Assignment

Definition at line 48 of file data.h.

typedef struct Binding Binding

Definition at line 43 of file data.h.

typedef struct Con Con

Definition at line 46 of file data.h.

typedef struct Window i3Window

Definition at line 49 of file data.h.

typedef struct Match Match

Definition at line 47 of file data.h.

typedef struct xoutput Output

Definition at line 45 of file data.h.

typedef struct Rect Rect

Definition at line 44 of file data.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
BIND_NONE 
BIND_SHIFT 
BIND_CONTROL 
BIND_MOD1 
BIND_MOD2 
BIND_MOD3 
BIND_MOD4 
BIND_MOD5 
BIND_MODE_SWITCH 

Definition at line 63 of file data.h.

Enumerator:
BS_NORMAL 
BS_NONE 
BS_1PIXEL 

Definition at line 57 of file data.h.

Enumerator:
D_LEFT 
D_RIGHT 
D_UP 
D_DOWN 

Definition at line 55 of file data.h.

parameter to specify whether tree_close() and x_window_kill() should kill only this specific window or the whole X11 client

Enumerator:
DONT_KILL_WINDOW 
KILL_WINDOW 
KILL_CLIENT 

Definition at line 61 of file data.h.

Enumerator:
NO_ORIENTATION 
HORIZ 
VERT 

Definition at line 56 of file data.h.


Function Documentation

struct Rect __attribute__ ( (packed)  )

Variable Documentation

uint32_t height
uint32_t width
uint32_t x
uint32_t y